Skip to main content

EventChannelTimedAiHook

A class in Root.Township, Alta.Intelligence.

AI hook that fires hook event channels on the creature at set delays after the action starts. Any still waiting are cancelled when it ends.

Constructors​

MemberWhat it is
EventChannelTimedAiHook()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private EventChannelTimedAiHook.Delay[] delaysThe channels to fire and how many seconds after the start each fires.

Methods​

MemberWhat it is
protected override void FinishedOrCancelled(IActiveAction finished)Cancels every delayed channel still waiting for this run.
protected override void Used(IActiveAction active)Schedules each entry in delays to fire its channel after its delay.