Combat Package Flags
No Combat Alert[edit | edit source]
The No Combat Alert flag prevents the actor from doing "combat alert" search behavior: the search behavior that normally happens when an actor detects an enemy between -20 and 0. If the flag is checked, the actor will only go into combat when he detects an enemy directly (detection > 0).
Pretend In Combat[edit | edit source]
The Pretend In Combat flag causes the actor to enter combat when the package is begun. The combat system will then continue the package. The primary use for this flag is to have an actor to move from cover point to cover point on their way to a destination, pretending they are under fire as they go. If the actor acquires a real target, they will stop moving to the destination and perform standard combat behavior. Once the target is eliminated, they will resume heading to the destination.
See the package type chart below for more details on how Pretend In Combat works for different package types.
Continue During Combat[edit | edit source]
The Continue During Combat flag causes the actor to continue their package behavior if they enter combat while executing the package. So if an actor is on a travel package with the Continue During Combat flag checked, they will walk normally to their destination. However, if they are attacked during this time, they will continue towards their destination while firing at their target, using cover along the way.
Once the destination is reached, the actor's packages will be evaluated. If they have a new package that also has the Continue During Combat flag checked, they will move to the new destination. If the new package does not have the Continue During Combat flag checked, the actor will resume normal combat behavior until their target is eliminated.
See the package type chart below for more details on how Continue During Combat works for different package types.
Flag usage on each Package Type[edit | edit source]
Package Type | Pretend in Combat Behavior | Continue During Combat Behavior | Notes | |
---|---|---|---|---|
Ambush | The actor will perform the travel behavior on the way to the ambush location, then will drop out of combat and perform the normal package behavior | The actor will perform the travel behavior on the way to the ambush location, then will drop out of combat and perform the normal package behavior | ||
Find | The actor will perform the travel behavior on the way to the object, then will drop out of combat and perform the normal package behavior | The actor will perform the travel behavior on the way to the object, then will drop out of combat and perform the normal package behavior | ||
Follow | The actor will draw his weapon and follow the leader. The actor will also follow the sneak state of the leader when within a distance of fCombatFollowSneakFollowRadius( default: 512.0 ), so if the leader begins sneaking, the follower will too. | The actor will go into combat with the targets, but will always try to stay within the follow radius of the leader. The same sneak following behavior as in Pretend in Combat occurs | The follow radius is the package radius * fCombatFollowRadiusMult( default: 3.0 ) or fCombatFollowRadiusMin( default: 512.0 ), whichever is higher | |
Guard | The actor will draw his weapon and will move and stand near the guard reference. Probably shouldn't be used. | The actor will engage the target, but will not move outside the guard radius in order to pursue the target | The guard radius is the package radius * fCombatGuardRadiusMult( default: 1.5 ) or fCombatGuardRadiusMin( default: 384.0 ), whichever is higher | |
Patrol | The actor will perform the travel behavior on the way to each patrol point and continue on to the next point | The actor will perform the travel behavior on the way to each patrol point and continue on to the next point | ||
Travel | Move to the destination by moving from cover point to cover point. The destination is used as a fake target for calculating cover | Continue to the destination, moving from cover point to cover point while firing at the target if possible | ||
Use Item At | The actor will perform the travel behavior on the way to the fire location, then will drop out of combat and perform the normal package behavior | The actor will perform the travel behavior on the way to the fire location, then will drop out of combat and perform the normal package behavior |
The flags do not work on the following packages:
- Accompany
- Dialogue
- Eat
- Escort
- Sandbox
- Sleep
- Wander