OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: syrion on 01 Jul 2009, 23:16:02
-
The briefing map when the mission opens shows the UPS markers. Within the game, it removes them from the map. Can I remove them somehow but keep my other markers?
-
Never used UPS, but can you not set the marker type to empty and therefore invisible?
-
That probably wouldn't work as they're area-based markers.
What Kronzky used to suggest (from the top of my head) in his readme was doing this with each of the markers (in init.sqf):
if(isServer) then {
"m" setMarkerPos [-(getMarkerPos "m" select 0),-(getMarkerPos "m" select 1)];
};
-
Would that be isServer, or !isServer? Aren't the patrols it generates server-side? if I move the markers on the server, won't that destroy my patrol locations?
-
It's isServer. The script itself has the functionality to "invert" the marker locations before spawning patrols. That sample was taken right from a [working] mission I have, that uses UPS.
-
Okay, thanks. :)
-
I have used init.sqs (sqf in arma2) to hide markers with "markername" setmarkersize [0,0]-command and later I have set the sizes back just before the UPS script is lauched.