Amon_PRC8/_module/nss/kulkingspawn.nss

13 lines
261 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
void main()
{
SetLocalInt(GetModule(), "KPushBack", 0);
object oChair = GetNearestObjectByTag ("Throne", OBJECT_SELF, 0);
if (GetIsObjectValid(oChair) && !GetIsObjectValid (GetSittingCreature (oChair)))
{
AssignCommand (OBJECT_SELF, ActionSit (oChair));
}
}