Jump to content
Sign in to follow this  
BEEJ24

when objective complete, new marker on map?

Recommended Posts

i have some objectives, all obj_1 -> obj_4 all as trigger, now when i want them to be completed i can get text to say objective 1 has been captured, but i would like a new marker on the map to change from the objective marker i have placed to see change it from red to green or to a different marker symbol. can this actually be done, or is it guna take a hell load of scripting which im useless at.

Share this post


Link to post
Share on other sites

Easiest way I find, is put the type/colour/symbol marker you want on the very edge of the map (in game map doesn't scroll right to the edge so the player won't be able to see it). Now, with the trigger that completes the objective, write first

"MARKER_NAME_2" setMarkerPos getMarkerPos "MARKER_NAME_1";

That will move the green marker on top of the red marker, the you want to delete the red marker with

deletemarker MARKERNAME_1;

Share this post


Link to post
Share on other sites

super, cheers :D another bit of helpful info on another day of begging for help ;)

Share this post


Link to post
Share on other sites

Is this possible ?

I place a hidden H on the Map and when i activate a trigger the marker i placed on the edge of the map jumps to the hidden H ?

something like:

"MARKER_NAME_2" setMarkerPos getMarkerPos "(Name of hidden H";

??

Share this post


Link to post
Share on other sites

Yes, but don't use getmarkerpos, just getpos. That works for objects, like the hidden H.

Share this post


Link to post
Share on other sites

Thanks for the quick answer !

---------- Post added at 04:33 PM ---------- Previous post was at 04:19 PM ----------

Argh...i dont get it to work. :D

I have a marker called "m2"

I have a hidden H called "h1"

I have a Trigger with following in the Init:

"m2" setMarkerPos getPos "h1";

...but it dont works.

Share this post


Link to post
Share on other sites

I can't remember exactly, try it with brackets:

m2 setmarkerpos (getpos h1)

Edit This is it

"marker_name" setmarkerpos getpos object_1;

Edited by Uzii

Share this post


Link to post
Share on other sites

Got it working...

"m2" setMarkerPos getPosASL h1;

It works fine !

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  

×