Jump to content
Sign in to follow this  
fowlsunlimited

Triggers and Markers

Recommended Posts

To start off I am new to mission editing. My problem is trying to make markers only appear once the trigger has been activated. I have set up the trigger as simply as possible by making it an area that BLUFOR has to enter. The marker name is "aircraft" with the alpha slider at 0% . Next is the trigger Type is "Guarded by OPFOR" Activation BLUFOR and Activation Type Present. The conditions box just says "this" and the On Activation box has "aircraft" setMarkerAlpha 1. I have gone through just adding a semicolon on the end and nothing. I tried using the empty map marker and using setMarkerType to change into a visible marker. Nothing works when I play as the BLUFOR soldier and walk into the trigger area. Also I did not change the default values for timer settings on the trigger. I imagine there is something very basic I am not understanding or missing. Any help would be appreciated.

Share this post


Link to post
Share on other sites
1 hour ago, fowlsunlimited said:

To start off I am new to mission editing. My problem is trying to make markers only appear once the trigger has been activated. I have set up the trigger as simply as possible by making it an area that BLUFOR has to enter. The marker name is "aircraft" with the alpha slider at 0% . Next is the trigger Type is "Guarded by OPFOR" Activation BLUFOR and Activation Type Present. The conditions box just says "this" and the On Activation box has "aircraft" setMarkerAlpha 1. I have gone through just adding a semicolon on the end and nothing. I tried using the empty map marker and using setMarkerType to change into a visible marker. Nothing works when I play as the BLUFOR soldier and walk into the trigger area. Also I did not change the default values for timer settings on the trigger. I imagine there is something very basic I am not understanding or missing. Any help would be appreciated.

I'm not familiar with how a trigger of type "Guarded by OPFOR" is supposed to activate. But, I think your trigger is most suited for the "None" trigger type so give that a try.

  • Like 1

Share this post


Link to post
Share on other sites

dchan200,

 

That was it. I think what happened is I watched a tutorial for triggers on youtube, but the trigger was for something else. I assumed it carried over to what I was doing, obviously not. Thank you for the reply.

Share this post


Link to post
Share on other sites

I had the seme quest once...and handled like that:

1-create your marker in the editor, the color,shape and text you want to ashow in the map to the player.

2-create a trigger "none"-"none" with on act:  "markername" setMarkerAlpha 0; (this will hide the marker from the map).

3-create a trigger  with "Guarded by OPFOR" Activation BLUFOR and Activation Type Present. On act: "markername" setMarkerAlpha 1; (this will show marker area to player once the trigger fire)

 

Done!!!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×