ObjCondition LineOfSight

From Tripwire Interactive Wiki
Revision as of 20:04, 5 November 2013 by Alex KF (talk | contribs) (Created page with "'''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 d...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.