OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Wildebeest on 02 Feb 2004, 21:57:21

Title: Markers... sides.. etc
Post by: Wildebeest on 02 Feb 2004, 21:57:21
Hi, how do I decide whether a marker belongs to side EAST or WEST? I want the EAST guys in multiplayer to be able to see EAST markers only but not the WEST ones and the other way around. Note that I'm not asking about how to make respawn.
With objectives you put "west_3" objStatus "shown" and such. Is it the same with markers? Like west_markername? It sure didn't work for me at least hehe :)

Any ideas? Thanks in advance, yer the best  ;D
Title: Re:Markers... sides.. etc
Post by: CptBravo on 02 Feb 2004, 23:18:18
Place this in init file in mission:

? side player == west : goto "west"


;Hide West markers from East players
"marker_w1" setmarkertype "empty"
"marker_w2" setmarkertype "empty"
"marker_w3" setmarkertype "empty"
 
exit


#west

;Hide Russian markers from West Player
"marker_e1" setmarkertype "empty"
"marker_e2" setmarkertype "empty"
"marker_e3" setmarkertype "empty"

exit




"marker_w1" and "marker_e1" is the name of the markers of course.
Title: Re:Markers... sides.. etc
Post by: Wildebeest on 03 Feb 2004, 00:22:22
Thanks man! I'll do that  :D