ai_target_timer
Increments a blackboard key while the attached mob is engaged with a particular target, does nothing else on its own
Vars | |
increment_key | Blackboard key to store data inside |
---|---|
last_target | The last target we had |
reset_clock_timer | Timer used to see if you |
target_key | Blackboard key to watch to indicate whether we are 'in combat' |
time_on_target | Amount of time we have spent focused on one target |
Procs | |
changed_target | When we get a new target, reset the timer and start processing |
finalise_losing_target | Called if we have had no target for long enough |
lost_target | When we lose our target, start a short timer in case we reacquire it very quickly |
store_current_time | Store the current time on our timer in our blackboard key |
Var Details
increment_key
Blackboard key to store data inside
last_target
The last target we had
reset_clock_timer
Timer used to see if you
target_key
Blackboard key to watch to indicate whether we are 'in combat'
time_on_target
Amount of time we have spent focused on one target
Proc Details
changed_target
When we get a new target, reset the timer and start processing
finalise_losing_target
Called if we have had no target for long enough
lost_target
When we lose our target, start a short timer in case we reacquire it very quickly
store_current_time
Store the current time on our timer in our blackboard key