10 lines
215 B
Plaintext
10 lines
215 B
Plaintext
|
void main()
|
||
|
{
|
||
|
if (!GetIsObjectValid(GetSittingCreature(OBJECT_SELF)))
|
||
|
{
|
||
|
object oLap=GetNearestObjectByTag("ah_sitlap",OBJECT_SELF);
|
||
|
SetLocalInt(oLap,"inuse",0);
|
||
|
DestroyObject(OBJECT_SELF,0.0);
|
||
|
}
|
||
|
}
|