Frame of Reference Game API
1.0.3
|
Executes Lua scripts on proximity or timers. More...
Public Member Functions | |
bool | IsInRange (Positionable< Vector2 > entity) |
Determines whether an entity is within range of this trigger. More... | |
Public Member Functions inherited from Positionable< Vector2 > | |
override string | ToString () |
virtual Positionable< TCoordinates > | Clone () |
Properties | |
float | Range [get, set] |
The maximum distance at which an Entity activates this trigger. More... | |
double | DueTime [get, set] |
The UniverseBase<T>.GameTime by which this trigger should have been activated. More... | |
string | TargetEntity [get, set] |
The name of the Entity whose proximity causes this trigger to activate. More... | |
string | OnActivation [get, set] |
A Lua script to execute when TargetEntity gets within Range. More... | |
string | OnTimeout [get, set] |
A Lua script to execute if the trigger was not activated by DueTime. More... | |
bool | WasTriggered [get, set] |
Indicates whether this trigger has already been triggered by TargetEntity or has timed out. More... | |
string | DependsOn [get, set] |
The name of another Trigger that has to be triggered before this one can be. More... | |
Properties inherited from Positionable< Vector2 > | |
string | Name |
TCoordinates | Position |
Additional Inherited Members | |
Protected Member Functions inherited from Positionable< Vector2 > | |
virtual void | OnChanged () |
void | OnChangedRebuild () |
Events inherited from Positionable< Vector2 > | |
Action< Positionable< TCoordinates > > | Changed |
Action< Positionable< TCoordinates > > | ChangedRebuild |
Executes Lua scripts on proximity or timers.
|
inline |
Determines whether an entity is within range of this trigger.
|
getset |
The name of another Trigger that has to be triggered before this one can be.
|
getset |
The UniverseBase<T>.GameTime by which this trigger should have been activated.
|
getset |
A Lua script to execute when TargetEntity gets within Range.
|
getset |
A Lua script to execute if the trigger was not activated by DueTime.
|
getset |
The maximum distance at which an Entity activates this trigger.
|
getset |
The name of the Entity whose proximity causes this trigger to activate.
|
getset |
Indicates whether this trigger has already been triggered by TargetEntity or has timed out.