Jump to navigation Jump to search
float GetDistance (bool checkz [, int ptr_select])
Gets the distance between the calling actor and the pointer.
- checkz: Indicates whether to factor in how high up an actor is. If false, pretends both the calling and pointed actor are both on flat ground.
- ptr_select: the pointer to examine. Default is AAPTR_TARGET. Must be a pointer other than AAPTR_DEFAULT or AAPTR_NULL. See actor pointers.
Returns the distance in double floatation precision.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.|