Amon_PRC8/_module/nss/sit_pew.nss

9 lines
310 B
Plaintext
Raw Normal View History

2025-04-03 19:00:46 -04:00
void main()
{
object oChair = GetNearestObjectByTag ("ZEP_BENCH002", OBJECT_SELF, 0);
if (GetIsObjectValid(oChair) && !GetIsObjectValid (GetSittingCreature (oChair)))
{
AssignCommand (OBJECT_SELF, ActionSit (oChair));
}
}