Endstar LUA API Documentation
Loading...
Searching...
No Matches
Effector Class Reference

Periodically applies some effect to all the contexts in its effect list, such as damage or healing. More...

Public Member Functions

void AddContext (Context instigator, Context target)
 Adds a context to the effector context list.
 
void RemoveContext (Context instigator, Context target)
 Removes a context from the effector context list.
 
void SetInitialInterval (Context instigator, float newInterval)
 Sets the initial effect interval for the effector.
 
void SetIntervalScalar (Context instigator, float newScalar)
 Sets the scalar value for the effector interval.
 
void Deactivate (Context instigator)
 Deactivates the periodic effector.
 
void Activate (Context instigator)
 Activates the periodic effector.
 

Detailed Description

Periodically applies some effect to all the contexts in its effect list, such as damage or healing.

Member Function Documentation

◆ Activate()

void Activate ( Context instigator)

Activates the periodic effector.

Parameters
instigatorThe source context triggering this change

◆ AddContext()

void AddContext ( Context instigator,
Context target )

Adds a context to the effector context list.

Parameters
instigatorThe source context triggering this change
targetThe context to add to the effector context list

◆ Deactivate()

void Deactivate ( Context instigator)

Deactivates the periodic effector.

Parameters
instigatorThe source context triggering this change

◆ RemoveContext()

void RemoveContext ( Context instigator,
Context target )

Removes a context from the effector context list.

Parameters
instigatorThe source context triggering this change
targetThe context to remove from the context list.

◆ SetInitialInterval()

void SetInitialInterval ( Context instigator,
float newInterval )

Sets the initial effect interval for the effector.

Parameters
instigatorThe source context triggering this change
newIntervalThe new initial interval

◆ SetIntervalScalar()

void SetIntervalScalar ( Context instigator,
float newScalar )

Sets the scalar value for the effector interval.

Parameters
instigatorThe source context triggering this change
newScalarThe new scalar value for the effector interval