By Jered Date Created: 5/23/2002
Orders are what an NPC is told to do. Some examples are Sitting, Standing, or Patrolling. Combining these orders, you can have the NPCs do complex things. To set orders, double click on an NPC to bring up its properties. Then Expand the tree 'Orders'. There are 7 things under here:
AlarmTag
bFixedStart
HomeExtent
Home Tag
Orders
Order Tag
SharedAlarmTag
Lets deal with the category 'Orders' first. Here is what you can have (that I know of):
Wandering
Sitting
Standing
Patrolling
Attacking
RunningTo
There may be more but those are the ones that I have found.
Wandering - The NPC wanders about Aimlessly. This can be further modified using the 'Home Tag' and 'HomeExtent' fields.
Sitting - Exactly what it says. The NPC finds a chair and sits in it.
Standing - The NPC stands in place without moving. This is good for stationary guards.
Patrolling - The NPC patrols along a set of fixed points.
Attacking - Signals the NPC to attack.
RunningTo - The NPC runs to the player. Once he reaches the player he stops. If oyu set this for an NPC as his starting orders he will immediately run to the player. WalkingTo is not a valid order.
The other things are used in other ways.
AlarmTag - The name of the alarm the NPC runs to first.
bFixedStart - I have always set this to false and i guess you should too.
HomeExtent - For use with the 'Wandering' order. This is how far away in UUs the NPC will wander from his 'home'. (Remeber that 16uu's = 1 foot)
Home Tag - Defines the 'home' of the NPC. Setting this to 'Start' sets the home of the NPC to where he was placed in the world. This is the most common thing to do.
Orders Tag - If possible, this is what the order is being done too. Such as 'RunningTo', 'Sitting', or 'Attacking'.
SharedAlarmTag- Something to do with alarms.
"Give us the Tools, and we will build worlds" ~ Jered
|