9 lines
310 B
Plaintext
9 lines
310 B
Plaintext
void main()
|
|
{
|
|
object oChair = GetNearestObjectByTag ("ZEP_BENCH002", OBJECT_SELF, 0);
|
|
if (GetIsObjectValid(oChair) && !GetIsObjectValid (GetSittingCreature (oChair)))
|
|
{
|
|
AssignCommand (OBJECT_SELF, ActionSit (oChair));
|
|
}
|
|
}
|