13 lines
261 B
Plaintext
13 lines
261 B
Plaintext
void main()
|
|
{
|
|
SetLocalInt(GetModule(), "KPushBack", 0);
|
|
object oChair = GetNearestObjectByTag ("Throne", OBJECT_SELF, 0);
|
|
if (GetIsObjectValid(oChair) && !GetIsObjectValid (GetSittingCreature (oChair)))
|
|
{
|
|
AssignCommand (OBJECT_SELF, ActionSit (oChair));
|
|
}
|
|
|
|
|
|
|
|
}
|