Difference between revisions of "GetWithinDistance"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Matthiaswagg
(Functionality verified via reverse-engineering.)
 
Line 1: Line 1:
 
This function checks if the calling ObjectReference is within the specified distance in [[units]] of the parameter ObjectReference, returning 1 if so or 0 otherwise. The distance must be less than the desired cap; if it's exactly equal, the condition still returns 0.


[[Category:Condition Functions]]
[[Category:Condition Functions]]
This function does not work.

Latest revision as of 12:14, 1 August 2024

This function checks if the calling ObjectReference is within the specified distance in units of the parameter ObjectReference, returning 1 if so or 0 otherwise. The distance must be less than the desired cap; if it's exactly equal, the condition still returns 0.