Difference between revisions of "GetWithinDistance"
Jump to navigation
Jump to search
imported>SJML Bot (Bot creating condition functions pages.) |
DavidJCobb (talk | contribs) (Functionality verified via reverse-engineering.) |
||
(One intermediate revision by one other user not shown) | |||
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.