OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: marcus3 on 25 Mar 2005, 16:32:30

Title: distance to marker
Post by: marcus3 on 25 Mar 2005, 16:32:30
?(loon distance (getmarkerpos mymarker) < 10)

wont work.
nother way to do this?
Title: Re:distance to marker
Post by: Woodpeckersam on 25 Mar 2005, 16:39:31
In what? a script or trigger?
Title: Re:distance to marker
Post by: marcus3 on 25 Mar 2005, 16:40:48
both (maybe)
a script more likey
Title: Re:distance to marker
Post by: Silencer on 25 Mar 2005, 16:53:40
Try this:

? ((Loon Distance Mymarker) <= 10)

If that doesn't work, make a game logic and not a marker

Title: Re:distance to marker
Post by: marcus3 on 25 Mar 2005, 17:15:46
it works thanks
off-topic
how is your working day mission coming along?