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 selection) |
Sets the target selection mode for the targeter. | |
void | SetTargetPrioritizationMode (Context instigator, int prioritizationMode) |
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 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 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 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 target hostility mode. |
void SetTargetPrioritizationMode | ( | Context | instigator, |
int | prioritizationMode ) |
Sets the target prioritization mode for the targeter.
instigator | The source context triggering this change |
prioritizationMode | The target prioritization mode. |
void SetTargetSelectionMode | ( | Context | instigator, |
int | selection ) |
Sets the target selection mode for the targeter.
instigator | The source context triggering this change |
selection | The 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 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 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. |