i wub pugs 15 Posted May 3, 2014 I'm trying to model ground and ship radar in an MP mission. Right now I've got triggers for RED and BLU radars that show hints (old forum posts I found) and they work for each side: Condition: found = false; {if (getPosATL _x select 2 > 400.0) then {found = true;};} forEach thisList; found; Action: if (side player == west) then {hint "Radar Contact. Check Map"}; What I need though is moving markers for planes that only show up when those planes are above 400m. I figure I can just put them in the init.sqf but how do I get them to only show for each unit when they're at > 400m? Share this post Link to post Share on other sites
chortles 263 Posted May 3, 2014 Have you checked/consulted with granQ or XxAnimusxX on modifying their radar scripts? (The former's A2 version of SFP has an UndE 23 ground radar station, the latter had the AniRadar mod.) Share this post Link to post Share on other sites
i wub pugs 15 Posted May 3, 2014 Hmm, I just looked at the AniRadar. A bit of overkill for me. What I'm going for is a simple hint and moving map marker. Its to keep pilots below 400m and thus subject them to more ground fire. If they go over 400m it gives the opposing team the awareness advantage. This is a big TvT ALiVE scenario. I want the BLU pilots flying off the Nimitz to have to either contend with the substantial RED AD that's on Altis or show up on the map which would let the RED team scramble Su-35's, fly under 400m and sneak up on the Hornets for the kill. RED is also subjected to the 400m height. I've got the two separate triggers working for the hints........but.......... I'm not great with scripting at all. I figure though that someone with some more knowledge would be able to combine the getPosAlt with map marker visibility in the init.sqf. I'm outside of my capability with this one. Share this post Link to post Share on other sites
chortles 263 Posted May 4, 2014 Which is again why I ask if you've asked granQ about allowing adaptation of the radar script from Arma 2's SFP -- when enabled, it draws a yellow ellipse on the map/GPS display around the UndE 23's position and any aircraft within the radius thereof has a moving marker with its displayName, altitude, bearing/heading, and (ground) speed displayed alongside and updated at intervals (IIRC at least a second apart); I imagine that it could be modified to also add an 'altitude > 400 meters' condition to the displaying requirements. Share this post Link to post Share on other sites