Enfusion Script API
|
ActionManager holds information about states of registered Contexts and Actions. More...
Public Member Functions | |
proto external void | SetDebug (int debugMode) |
Show debug info via DbgUI. | |
proto external bool | ActivateContext (string contextName, int duration=0) |
proto external bool | IsContextActive (string contextName) |
proto external void | SetContextDebug (string contextName, bool bDebug) |
proto external bool | ActivateAction (string actionName, int duration=0) |
proto external bool | IsActionActive (string actionName) |
proto external float | GetActionValue (string actionName) |
Return normalized value of action. | |
proto external EActionValueType | GetActionInputType (string actionName) |
Return type of last input contributing to this action. | |
proto external bool | GetActionTriggered (string actionName) |
Return TRUE if value of action is above threshold(0.99) and is active. | |
proto external void | SetActionValue (string actionName, float value) |
proto external int | GetActionCount () |
proto external string | GetActionName (int actionIndex) |
proto external void | AddActionListener (string actionName, EActionTrigger trigger, ActionListenerCallback callback) |
proto external bool | RemoveActionListener (string actionName, EActionTrigger trigger, ActionListenerCallback callback) |
ActionManager holds information about states of registered Contexts and Actions.
proto external void ActionManager.AddActionListener | ( | string | actionName, |
EActionTrigger | trigger, | ||
ActionListenerCallback | callback | ||
) |
proto external int ActionManager.GetActionCount | ( | ) |
proto external EActionValueType ActionManager.GetActionInputType | ( | string | actionName | ) |
Return type of last input contributing to this action.
Return TRUE if value of action is above threshold(0.99) and is active.
Return normalized value of action.
proto external bool ActionManager.RemoveActionListener | ( | string | actionName, |
EActionTrigger | trigger, | ||
ActionListenerCallback | callback | ||
) |