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:
EpicValor
2023-09-09 19:56:22 -05:00
parent 80bc1e0c92
commit c369af5071
119 changed files with 50579 additions and 4558 deletions

View File

@@ -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));
}