BaseBehaviour - golden-coconut-studio/TikiAdventuresWiki GitHub Wiki

BaseBehavior is where the actual skill does its things. This is a very simple class where designers can blueprint whatever they want a skill to actually do. Inside a behavior, we can create skill that happen instantly, but it can also do things over time, and when that time ends.

Behaviors have only a few variables and blueprint events:


Behavior Properties

 Duration Time:          Decides how long the behavior is going to last in seconds.

 Delay Start Execution:  Before starting the behavior, you can delay it with this variable.

 Interval:               In how many intervals the tick event is called. The lower the value, the faster the tick is 
                         called.


Behaviour Events

 BeginBehaviour:         This is called at the begin of the behavior. works like a BeginPlay()

 Tick:                   This works like the normal tick. but it has 1 big difference, it's number of calls is based 
                         on the '_Interval_' variable. it will be called every X seconds, based on interval.

 OnEndBehaviour:         This is called once the duration of the behavior has ended, which is based on the 'Duration 
                         Time' variable.

From these events you can do whatever you want through blueprint. From Effect blueprints you can call these behaviors.