Home   Help Search Login Register  

Author Topic: Markers  (Read 1372 times)

0 Members and 1 Guest are viewing this topic.

PheliCan

  • Guest
Markers
« on: 27 May 2003, 18:40:32 »
Is it possible to create markers on a map from a script? I'm working on a MP modification that supports reports from groups not in your group. As there are two players, one playing west and one playing east, I only want the markers to show on one side...

Is this possible?

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Markers
« Reply #1 on: 28 May 2003, 00:02:21 »
This is how its normally done in the init.sqs

?side player==east:"WStart" setmarkertype "empty"  
?side player==east:"Respawn_West" setmarkersize[0,0]

If its an icon set it to empty
if its an ellipse or rectangle set its size to 0,0


On the fly ??, dont know, but what you could do is basically create all the markers you want during mission editing, initially have them unseen, then when you want, set their positions to wherever you want them, set their color size type etc
  here are the marker commands avail

"mymarker" setmarkersize [x, y]
"mymarker" setmarkerpos getmarkerpos "myothermarker"
"mymarker" setmarkercolor [colorblue]
"mymarker" setmarkertype "Destroy"   (see comref for others)

other colors are "colorredalpha", "colorgreen", "default"  and others  see the command ref
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

PheliCan

  • Guest
Re:Markers
« Reply #2 on: 28 May 2003, 12:02:32 »
Placing the markers within init.sqs could be useful to know about as I plan to make this mod for every map, not just one.
I was looking for a way to do it "on the fly", but I guess it's not possible to do that...

Thanks anyway!  :)
« Last Edit: 28 May 2003, 12:03:19 by PheliCan »