GetVATSFrontAreaFree

From the CreationKit Wiki
Revision as of 12:57, 18 December 2012 by imported>Chesko
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns the distance that the VATS (kill) camera can move before being obstructed by an object (walls, terrain, etc), starting at the target and moving away from the target's front. This ensures that there is adequate space for the kill cam to maneuver without clipping through or hitting solid objects. Used to select the best available kill cam at the time of the kill event.

Only used on Camera Paths.

Example[edit | edit source]

The following would return true if there were greater than 250 game units of unobstructed space away from the target's front.

Chesko confunc GetVATSFrontAreaFree.jpg

See Also[edit | edit source]