GetVATSFrontAreaFree

From the CreationKit Wiki
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]