OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: TH on 15 Jun 2004, 22:27:11

Title: How to make markers appear for only one side
Post by: TH on 15 Jun 2004, 22:27:11
How do I make a marker appear for only one side? or make a marker say something different for the other side?
Title: Re:How to make markers appear for only one side
Post by: Terox on 16 Jun 2004, 14:10:20

Enter the following code into the init.sqs and modify the names of the markers to suit





;;;;;;;;;; ______ Setup Markers ______ ;;;;;;;;;;


?side player==west:goto "WEST"
?side player==east:goto "EAST"
#EAST
;;Hide West markers from East players
"Respawn_West" setmarkersize[0,0]
"ESafezoneMarker" setmarkersize[0,0]
"WStart" setmarkertype "empty"
"WestNogo" setmarkertype "empty"
goto "NEXT"

#WEST
;;Hide East markers from West players
"Respawn_East" setmarkersize[0,0]
"WSafezoneMarker" setmarkersize[0,0]
"EStart" setmarkertype "empty"
"EastNogo" setmarkertype "empty"
goto "NEXT"

#NEXT