Jump to content
Sign in to follow this  
bn880

Speperate markers for sides.

Recommended Posts

I was wondering how to create one set of markers for the east side, and another set for the west side. (so that they are not visible to both)

I am working on an adveserial mission that requires "secret" markers for each side. (I am not talking about runtime markers)

Let me know, I couldn't find any posts that explain this.

Share this post


Link to post
Share on other sites

You´ll have to make seperate briefings for east and west then.

Check the tutorial "How to make multiplayer briefings" on this site (you´ll have to scroll way down).

Share this post


Link to post
Share on other sites

I have seperate briefings, my problem is with markers not briefings.

Anyone else have a clue about different markers for different sides?

Share this post


Link to post
Share on other sites

Yeah just make a simple script to do it for example :

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_player1 = side player1

_player2 = side player2

?(_player1 == WEST): Goto "WEST"

?(_player2 == EAST): Goto "East"

goto "end"

#West

"Marker1" SetMarkerType "flag"

"Marker2" SetMarkerType "flag"

goto "end"

#east

"Marker1" SetMarkerType "empty"

"Marker2" SetMarkerType "empty"

goto "end"

#end

exit

<span id='postcolor'>

RED

Share this post


Link to post
Share on other sites

I did get it working with the help from this topic!

in init.sqs:

?(side player == east): Goto "east"

?(side player == west): Goto "west"

goto "end"

#west

"Scud" SetMarkerType "Destroy"

"Arti1" SetMarkerType "Destroy"

.

.

.

"mine3" SetMarkerType "empty"

"air" SetMarkerType "empty"

goto "end"

#east

"Scud" SetMarkerType "Flag1"

"Scud" SetMarkerColor "ColorGreen"

"Arti1" SetMarkerType "Flag1"

.

.

.

"ammo2" SetMarkerType "Marker"

"ammo3" SetMarkerType "Marker"

"ammo4" SetMarkerType "Marker"

goto "end"

#end

exit

This way even the briefing gets proper markers.

Great, and thanks.

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  

×