Royal_Blackwatch 0 Posted February 22, 2002 Exactly two questions: 1. When setting a marker in game you can enter a description for it. So how is it possible to access this from a script? 2. When an enemy unit is spotted, the game places unit markers on the map. How can you access these? Share this post Link to post Share on other sites
AgamemnonTR 0 Posted February 24, 2002 you can give your marker a name and then call it from the script. for the second part, you place a trigger for spotting the unit you want, and the use this </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">marker_name SetMarkerPos [GetPos unit_that_you_spotted]<span id='postcolor'> that should place the marker directly over the unit. still, your marker must be set to "Empty" and when the trigger activates set it to "Target" or something else using "SetMarkerType" Share this post Link to post Share on other sites
Royal_Blackwatch 0 Posted February 25, 2002 Err.. Thats not the thing I meant 1. My intention was to access the name (eg. the script is waiting for a user defined marker called Alpha1 (as a waypoint) and then moving a unit to this marker wether there are other markers or not) and 2. I meant to access the icons, whats the name of them (like "air" for an A10) Share this post Link to post Share on other sites