Deth Stryker 0 Posted April 4, 2007 I'm trying to get a unit to go to a specific coordinate via a marker and domove. However it requires I know the x,y or x,y,z coordinate I want it to go to. How do I get this info? Maybe I didn't use the right search words but there seems to be no info on this. Thanks Share this post Link to post Share on other sites
madrussian 347 Posted April 4, 2007 Just getting started, eh? Say your unit is named loon and your marker is named mark1. Try this: loon domove getMarkerPos "mark1" If for some reason you want to get at the x,y,z coodinates of your marker, do this: coords = getMarkerPos "mark1" At this point your variable coords is an array containing [x,y,z]. Â To get at these values, do this: x = coords select 0 y = coords select 1 z = coords select 2 Good luck in your endeavor. Share this post Link to post Share on other sites
Deth Stryker 0 Posted April 4, 2007 Yeah my question stinks of noobism doesn't it? Thanks, that is exactly the kind of answer I need. Share this post Link to post Share on other sites
Deth Stryker 0 Posted April 16, 2007 new question, using the info above I made a trigger that when activated makes a waypoint. However upon a second trigger and a new waypoint there is no change from the first. Does my group have to get to the first created waypoint before the second will show? Or how do I properly use the removewaypoint command? Share this post Link to post Share on other sites
Deth Stryker 0 Posted April 17, 2007 need some bumpage here Share this post Link to post Share on other sites