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