OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: IKKINO on 27 Feb 2008, 18:49:14
-
any help for me?
thanks :D
-
so marker visibility only for west side and not for east side
-
IKKINO, welcome to OFPEC :welcome:
A friendly reminder of our posting guidelines (http://www.ofpec.com/index.php?action=read_on&id=122).
We do not like double/consevutive posting so if you have something to add after a short time please modify your post instead of 'replying to yourself'.
for west side and not for east side
Is this by any change a MP related question?
-
Regardless of whether this is MP related or not, here is the answer in SQS format This should be inserted into the init.sqs if you have one, or should make one from it. If you want to use SQF you can, but it's not vital for this particular exercise. If you have an init.sqf, then the code will obviously need changing to the sqf syntax.
?side player==west:goto "WEST"
?side player==east:goto "EAST"
#EAST
;;Hide West markers from East players
"MarkernameyouwanthidingfromEast" setmarkertype "empty"
goto "NEXT"
#WEST
;;Hide East markers from West players
"MarkernameyouwanthidingfromWest" setmarkertype "empty"
SQF format would be
switch (side player) do
{
case "East":
{"MarkernameyouwanthidingfromEast" setmarkertype "empty";
};
case "West":
{"MarkernameyouwanthidingfromWest" setmarkertype "empty";
};
};
That should work for you.
-
thx a lot charlie and sorry administrator ... :-[