ai_behavior
Abstract class for an action an AI can take, can range from movement to grabbing a nearby weapon.
Vars | |
action_cooldown | Cooldown between actions performances |
---|---|
behavior_flags | Flags for extra behavior |
required_distance | What distance you need to be from the target to perform the action |
Procs | |
finish_action | Called when the action is finished. |
perform | Called by the AI controller when this action is performed |
setup | Called by the ai controller when first being added. Additional arguments depend on the behavior type. Return FALSE to cancel |
Var Details
action_cooldown
Cooldown between actions performances
behavior_flags
Flags for extra behavior
required_distance
What distance you need to be from the target to perform the action
Proc Details
finish_action
Called when the action is finished.
perform
Called by the AI controller when this action is performed
setup
Called by the ai controller when first being added. Additional arguments depend on the behavior type. Return FALSE to cancel