Forum Jump :

Author Message


Posts: 5
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2013-03-10 20:53        
     
Hey guys just wondering how i could change a markers color when certain parameters are met; for example, like in the insurgency game mode, when you clear out a certain grid, the marker in that grid turns from red to green. thanks!


Author Message


Posts: 6
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#2 Posted at 2013-03-10 21:55        
     
One way that a marker color can be changed is with a trigger.

Setup the marker with a name and text.

Set up a trigger to activate with blufor / opfor or what ever you want. Also, select if it will be repeated or not. Then in the on ACT. field enter the following:
"markerName" setMarkerColorLocal "ColorGreen";

You could also have the trigger call a script to do this also(though I'm a bit rusty with scripting).


Advertisement


Author Message


Posts: 5
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2013-03-18 23:09        
     
Thanks alot! exactly what I was looking for.