Added ambient npcs to 3 environs areas
This commit is contained in:
21
_module/nss/farmhand5.nss
Normal file
21
_module/nss/farmhand5.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "nw_i0_spells"
|
||||
#include "NW_I0_GENERIC"
|
||||
#include "x0_i0_anims"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oActor;
|
||||
oActor = OBJECT_SELF;
|
||||
ActionDoCommand (AssignCommand(oActor, ActionForceMoveToObject(GetRandomObjectByTag("Wheat1", 190.0))));
|
||||
ActionDoCommand (AssignCommand(oActor, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0, 60.0)));
|
||||
ActionDoCommand (AssignCommand(oActor, ActionForceMoveToObject(GetRandomObjectByTag("Wheat3", 90.0))));
|
||||
ActionDoCommand (AssignCommand(oActor, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0, 60.0)));
|
||||
ActionDoCommand (AssignCommand(oActor, ActionForceMoveToObject(GetRandomObjectByTag("Wheat4", 190.0))));
|
||||
ActionDoCommand (AssignCommand(oActor, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0, 60.0)));
|
||||
ActionDoCommand (AssignCommand(oActor, ActionForceMoveToObject(GetRandomObjectByTag("ZEP_CE_CAR_003", 190.0), FALSE, 6.0f, 30.0f)));
|
||||
ActionDoCommand (AssignCommand(oActor, ActionPlayAnimation(ANIMATION_LOOPING_GET_MID, 1.0, 3.0)));
|
||||
ActionDoCommand (AssignCommand(oActor, ActionForceMoveToObject(GetRandomObjectByTag("Wheat2", 90.0))));
|
||||
ActionDoCommand (AssignCommand(oActor, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0, 60.0)));
|
||||
DelayCommand (359.5, ExecuteScript("farmhand5"));
|
||||
}
|
||||
//Strawberries PumpkinPatch Cabbage Vegetable1 Vegetable2
|
Reference in New Issue
Block a user