OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Stone on 31 Aug 2003, 21:33:14
-
I want to have my respawn areas unseen by opposite side, I tried playing with: (different approaches)
"respawn_west" setmarkertype "Empty"
"respawn_east" setmarkertype "Empty"
with no success. :-[
Each time I could see easts marker on the map.
I need this to be invisible both during briefing & mission (in game map )
ThanX for any hints & suggestions...
-
Are you familiar with init.sqs? Good. You have to add to it.
Here's an example:
? side player == west : goto "west"
"respawn_west" setmarkertype "empty"
exit
#west
"respawn_east" setmarkertype "empty"
exit
You can also use this to hide radio commands from certain sides.
? side player == west : goto "west"
;Hides Alpha from East
1 setradiomsg "null"
exit
#west
;Hides Bravo & Charlie from West
2 setradiomsg "null"
3 setradiomsg "null"
exit
Good Luck!
-
ellipse respawn markers cannot be made invisible by setting marker empty, this is only good for icon based markers.
What you have to do is resize it to 0 for the side that you dont want to see it
eg
#SIDECHECK
?side player==west:goto "WEST"
?side player==east:goto "EAST"
#WEST
;;Hide East markers from West players
"Respawn_East" setmarkersize[0,0]
-
:D ThanX People ! I got it working now !