OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Artak on 17 Jun 2003, 14:51:47
-
howdy folks :D
I was wondering, has anyone made a script that will calculate a units distance from a marker?
-
I like to use SnYpir's "distancepos" function.
_dis=[getpos player,getmarkerpos "marker"] call distancepos
It calculates the distance between two "position" arrays.
:)
-
Works like a charm. Excellent.
Thank you very much :-*