11 lines
211 B
Plaintext
11 lines
211 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oChair = OBJECT_SELF;
|
||
|
if(!GetIsObjectValid(GetSittingCreature(oChair)))
|
||
|
{
|
||
|
AssignCommand(GetLastUsedBy(), ActionSit(oChair));
|
||
|
SetLocalInt(GetLastUsedBy(),"issitting",1);
|
||
|
}
|
||
|
}
|
||
|
|