ObjCondition LineOfSight: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
| MinDistance || Float || The player needs to be this distance or less from the target or the condition will not be considered complete. | | MinDistance || Float || The player needs to be this distance or less from the target or the condition will not be considered complete. | ||
|- | |- | ||
| bPerformLineCheck || Bool || If true, the player needs to have a clear line of sight to his target that is | | bPerformLineCheck || Bool || If true, the player needs to have a clear line of sight to his target that is unobstructed by world geometry. Leave this false if you want him to see through walls. | ||
|- | |- | ||
|} | |} |
Latest revision as of 17:00, 6 November 2013
Description
Line of sight conditions are used to determine if a living human player is currently looking at a specific location in the world. The location used is determined by the HUD_World actor in the condition's HUD properties.
Configurable Properties
Variable Name | Variable Type | Description |
---|---|---|
MinDotProduct | Float | The minimum angle between the player's view roation and the location of the actor you're meant to be looking at. Positive values between 0 and 1 are in front of the player. |
MinDistance | Float | The player needs to be this distance or less from the target or the condition will not be considered complete. |
bPerformLineCheck | Bool | If true, the player needs to have a clear line of sight to his target that is unobstructed by world geometry. Leave this false if you want him to see through walls. |