Alangara_PRC8/_module/nss/bo_npcsits.nss

18 lines
581 B
Plaintext
Raw Normal View History

2024-06-05 21:21:06 -04:00
/////////////////////////////////////////////////////////
//Place in "Actions Taken" of the NPCs first convo node
//Make sure tag is correct and remove the nw_walk_wp
//script from the End Conversation Normally handle.
/////////////////////////////////////////////////////////
void main()
{
object oChair = GetNearestObjectByTag("ZEP_BENCH002");
//Make sure no one is in chair, if not sit-down.
if(!GetIsObjectValid(GetSittingCreature(oChair)))
{
ClearAllActions(); //This is so he don't spin in his chair, following you.
ActionSit(oChair);
}
}
//End