Initial module commit
Initial module commit.
This commit is contained in:
16
_module/nss/keepinchair.nss
Normal file
16
_module/nss/keepinchair.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
/////////////////////////////////////////////////////////
|
||||
//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("Chair");
|
||||
//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
|
||||
Reference in New Issue
Block a user