JacobJ 10 Posted June 16, 2011 (edited) Hey all How would I make a marker that is only shown to one side? I know how to create it by script, but I have tried a if statement with the side in them to only be created for east only, but that didnt work. I think it is simple, but I just can't see how its done... /Jacob Edited June 21, 2011 by JacobJ Share this post Link to post Share on other sites
galzohar 28 Posted June 16, 2011 waitUntil {!isNull player}; if (side player == EAST) then { ... } else { ... }; Share this post Link to post Share on other sites
JacobJ 10 Posted June 16, 2011 (edited) Yes I tried that, but west can also see the marker. I think its because it is like a vehicle, when it gets created, it doesnt matter who creates it, its just there for both teams to observe. ---------- Post added at 19:53 ---------- Previous post was at 19:10 ---------- Edited June 21, 2011 by JacobJ Share this post Link to post Share on other sites
JacobJ 10 Posted June 21, 2011 Okay, I thought I found the solution, but it turns out, that all players can still see the marker, no matter if they are blufor or opfor.... Does anyone have some wisdoms words about markers and how to restrict the visibility of them only to one side in the game? Share this post Link to post Share on other sites
demonized 16 Posted June 21, 2011 you need to use createMarkerLocal and its commands: waitUntil {!isNull player}; if ((side player) == west) then { _markerstr = createMarkerLocal["markername",[_Xpos,_Ypos]]; _markerstr setMarkerShapeLocal "ICON"; _markerstr setMarkerTypeLocal "DOT"; }; Share this post Link to post Share on other sites
JacobJ 10 Posted June 21, 2011 ARHGGG!! I was using the createmarkerlocal, but not using the other commands like setMarkerShapeLocal (I was using the global commands instead). Thank you again, I will give this a shot! Share this post Link to post Share on other sites