Amon_PRC8/_module/nss/perrinspawn.nss

12 lines
219 B
Plaintext
Raw Permalink Normal View History

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