I figured out why commoner types weren't using civilized animations
Most changes were due to that and other behaviors I wanted ambient npcs to do.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//:: npc_sit_stay
|
||||
//:://////////////////////////////////////////////
|
||||
/*Goes on the OnSpawn and OnConversation script of the NPC that you want to stay <span class="highlight">seated</span>*/
|
||||
#include "nw_i0_spells"
|
||||
//#include "nw_i0_spells"
|
||||
#include "NW_I0_GENERIC"
|
||||
void main()
|
||||
{
|
||||
@@ -55,6 +55,8 @@ void main()
|
||||
ActionMoveToObject (oWay, FALSE);
|
||||
|
||||
}
|
||||
DelayCommand(GetRandomDelay(180.0, 300.0), ExecuteScript("npc_sit_chair", OBJECT_SELF));
|
||||
int nTime = Random(180) + 120;
|
||||
float fTime = IntToFloat(nTime);
|
||||
DelayCommand(fTime, ExecuteScript("npc_sit_chair", OBJECT_SELF));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user