Hi there i need some help on the motion tracker script for the uscm mod
hereÂ's the code
;;;;;;USCM-MOTIONTRACKER-SCRIPT;;;;;;
;;;;;;;;;;;version 0.1Beta;;;;;;;;;;;
;;;;;;;;;;;;©by Manticore;;;;;;;;;;;;
;nearestObject
;speed
;distance
_tracker = _this select 0
_tracked = _this select 1
#scan
nearestObject [_tracker, "_tracked"] && ?(alive _tracked): goto "track"
?(not (alive _tracker)): goto "exit"
#track
?(_tracker distance _tracked <= 30) and (_tracked speed > 0) : hint "30m"
?(_tracker distance _tracked <= 25) and (_tracked speed > 0) : hint "25m"
?(_tracker distance _tracked <= 20) and (_tracked speed > 0) : hint "20m"
?(_tracker distance _tracked <= 15) and (_tracked speed > 0) : hint "15m"
?(_tracker distance _tracked <= 10) and (_tracked speed > 0) : hint "10m"
?(_tracker distance _tracked <= 5) and (_tracked speed > 0) : hint "5m"
?(_tracker distance _tracked <= 0) and (_tracked speed > 0) : hint "0m"
~0.1
?(not (alive _tracked)): goto "scan"
#exit
wht i want it to do is to scan if sth is <a href="
http://www.ntsearch.com/search.php?q=moving&v=54&src=zon">moving</a> around in the distance for max 30 m
so every <a href="
http://www.ntsearch.com/search.php?q=time&v=54&src=zon">time</a> u get closer (25m 20m ...) and have a bigger speed than 0
a hint pops up
and only the nerest object is tracked
i really dunno whats wrong and this code is only rudimentary
thx for any replies and advices
warlock
aka
nephilim
aka
manticore