ObjCondition LineOfSight
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's view of the target must be unobstructed by world geometry. |