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