|
Endstar LUA API Documentation
|
Used to modify a targeter components behavior by altering its settings. More...
Public Member Functions | |
| void | SetMaxLookDistance (Context instigator, float distance) |
| Sets the maximum distance the targeter can look. | |
| void | SetVerticalViewAngle (Context instigator, float angle) |
| Sets the vertical view angle for the targeter. | |
| void | SetHorizontalViewWidth (Context instigator, float angle) |
| Sets the horizontal view angle for the targeter. | |
| void | SetTargetSelectionMode (Context instigator, int targetSelectionMode) |
| Sets the target selection mode for the targeter. | |
| void | SetTargetPrioritizationMode (Context instigator, int targetPrioritizationMode) |
| Sets the target prioritization mode for the targeter. | |
| void | SetCurrentTargetHandlingMode (Context instigator, int currentTargetHandlingMode) |
| Sets the handling mode for the current target. | |
| void | SetTargetHostilityMode (Context instigator, int targetHostilityMode) |
| Sets the target hostility mode for the targeter. | |
| void | SetZeroHealthTargetMode (Context instigator, int zeroHealthTargetMode) |
| Sets the mode for handling targets with zero health. | |
| void | UseXRayLos (Context instigator, bool useXray) |
| Configures whether the targeter should use X-Ray line of sight. | |
| void | IsNavigationDependent (bool isNavigationDependent) |
| Sets whether the targeter is navigation dependent. | |
| void | SetAwarenessLossRate (Context instigator, float newLossRate) |
| Sets the rate at which the targeter loses awareness of its target. | |
| float | GetAwarenessLossRate () |
| Gets the current rate at which the targeter loses awareness of its target. | |
Used to modify a targeter components behavior by altering its settings.
| float GetAwarenessLossRate | ( | ) |
Gets the current rate at which the targeter loses awareness of its target.
| void IsNavigationDependent | ( | bool | isNavigationDependent | ) |
Sets whether the targeter is navigation dependent.
| isNavigationDependent | If set to true, the targeter is navigation dependent. |
| void SetAwarenessLossRate | ( | Context | instigator, |
| float | newLossRate ) |
Sets the rate at which the targeter loses awareness of its target.
| instigator | The source context triggering this change |
| newLossRate | The new awareness loss rate. |
| void SetCurrentTargetHandlingMode | ( | Context | instigator, |
| int | currentTargetHandlingMode ) |
Sets the handling mode for the current target.
| instigator | The source context triggering this change |
| currentTargetHandlingMode | The new current target handling mode. |
| void SetHorizontalViewWidth | ( | Context | instigator, |
| float | angle ) |
Sets the horizontal view angle for the targeter.
| instigator | The source context triggering this change |
| angle | The new horizontal view width angle. |
| void SetMaxLookDistance | ( | Context | instigator, |
| float | distance ) |
Sets the maximum distance the targeter can look.
| instigator | The source context triggering this change |
| distance | The new maximum look distance. |
| void SetTargetHostilityMode | ( | Context | instigator, |
| int | targetHostilityMode ) |
Sets the target hostility mode for the targeter.
| instigator | The source context triggering this change |
| targetHostilityMode | The new target hostility mode. |
| void SetTargetPrioritizationMode | ( | Context | instigator, |
| int | targetPrioritizationMode ) |
Sets the target prioritization mode for the targeter.
| instigator | The source context triggering this change |
| targetPrioritizationMode | The new target prioritization mode. |
| void SetTargetSelectionMode | ( | Context | instigator, |
| int | targetSelectionMode ) |
Sets the target selection mode for the targeter.
| instigator | The source context triggering this change |
| targetSelectionMode | The new target selection mode. |
| void SetVerticalViewAngle | ( | Context | instigator, |
| float | angle ) |
Sets the vertical view angle for the targeter.
| instigator | The source context triggering this change |
| angle | The new vertical view angle. |
| void SetZeroHealthTargetMode | ( | Context | instigator, |
| int | zeroHealthTargetMode ) |
Sets the mode for handling targets with zero health.
| instigator | The source context triggering this change |
| zeroHealthTargetMode | The new zero health target mode. |
| void UseXRayLos | ( | Context | instigator, |
| bool | useXray ) |
Configures whether the targeter should use X-Ray line of sight.
| instigator | The source context triggering this change |
| useXray | If set to true, use X-Ray line of sight. |