Difference between revisions of "GetWithinDistance"
Jump to navigation
Jump to search
imported>Matthiaswagg |
DavidJCobb (talk | contribs) (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]] | ||
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.