OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Desdichado on 04 Dec 2002, 23:01:17
-
Yep, I'm at it again... ;D
Now I need to know how to make the markers only apear for each team (west-east)?
Best regards
Jan Fredrik Lund
Norway
-
Create all your markers in the normal way
then enter the following code snippet into your
Description.ext file
Where eg "West_FUP" is the name of the markers
? side player == west : goto "west"
? side player == east : goto "east"
#east
;Hide West markers from East players
"Respawn_West" setmarkertype "empty"
"West_FUP" setmarkertype "empty"
"West_BridgeOP" setmarkertype "empty"
"West_CovertOP" setmarkertype "empty"
"West_HQ" setmarkertype "empty"
"West_Boat" setmarkertype "empty"
"East_NoGo" setmarkertype "empty"
goto "end"
#west
;Hide East markers from West players
"Respawn_East" setmarkertype "empty"
"East_BridgeOP" setmarkertype "empty"
"East_CovertOP" setmarkertype "empty"
"East_FUP" setmarkertype "empty"
"East_HQ" setmarkertype "empty"
"East_Boat" setmarkertype "empty"
"West_NoGo" setmarkertype "empty"
goto "end"
#End