Arma 3
brrt11 Mar 24, 2017 @ 2:05am
Updating map markers using scripts?
I've been combing the forums and haven't found what I'm looking for yet. I'm creating a scenario where you start with no map or the map is blank so the Briefing screen won't give away any secrets yet, but after looting an enemy for his map, suddenly all of their map markers with positions etc. are available on the player map. I was trying to set it up so the Markers alpha were turned down to 0, then collecting the map would trigger a scripot that changed the Alpha back to 1 on the markers. I have the map markers set, the triggers ready, how do I link that to a map an NPC has in their gear?

If I can't affect the gear of an NPC with a "removed from inventory" trigger, as an altenrative I could have the map laying on a table to find, but how would I make it so collecting an item "updated" the map (changed the marker alpha back to a 1).? I've found tons on collectring intel and it updating a task, but not for adding markers to a map.

Thanks for any feedback, literally been looking for a couple hours.
< >
Showing 1-1 of 1 comments
DTS7 Mar 25, 2017 @ 5:21pm 
Hey, maybe I'm a little late to the party, but how about this: You place down the map as an item, name it something like "o_map1" start the .sqf file with the map's init, and in your .sqf write: while {!isNil o_map1} do {if (isNil o_map1) then ("marker" setMarkerAlpha 1)};
Or something like that... well hopefully I helped ^^
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Mar 24, 2017 @ 2:05am
Posts: 1