Forum Jump :

Author Message


Posts: 34
Rank:


Level: Member

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

 
#1 Posted at 2014-05-03 21:07        
     
Basically what I want to do is to trigger End which is Mission Complete when a specific marked area turns color green and trigger End Mission Failed when the marker turns color Red.


Marker changes color if a Bluffor or a Opfor units are inside. So if Blufor units are inside and no Opfor then the marker changes to green and if Opfor are inside and no Blufor then the marker turnes Red. If both Blufor and Opfor are inside the marker is default color. But I already know how to change marker color when units take over it whit trigger.

All I need to know is how to trigger End when the marker color changes ???


Anybody know how to do this ??? *SCRATCH*


Author Message


Posts: 1473
Rank:


Level: Member

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

 
#2 Posted at 2014-05-04 01:45        
     
in trigger condition just have the right name of the marker and color, example
markerColor "Marker1" == "ColorRed"

When it turns red the trigger will fire


Advertisement


Author Message


Posts: 34
Rank:


Level: Member

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

 
#3 Posted at 2014-05-04 15:29        
     
thanks it works *THUMBS UP*






Tags: Color, End, Marker, Trigger