number3 Posted November 15, 2013 Posted November 15, 2013 I'm building a mission where a convoy rolls into a city and get ambushed. I would like some insurgent fortifications (armed house) to be placed in the city and only fire when the unit is within the ambush zone. The engagement range of the armed house fortification is large enough to starting firing at the convoy before they enter the city area. Another problem is that the convoy sees the armed house well before it's in the ambush zone and starts to fire the house. Is it possible to script a unit fortification as well as a convoy to not fire and once the convoy reaches the zone to open fire? Ideally the convoy would not see or engage the armed house; and the armed house would not fire until the target is in the ambush zone. However I don't want to convoy to simply hold fire until it reaches the zone. My first through was to place a static structure in the city. When the unit enters the ambush zone, disable the static structure and enable the insurgent fortification in the exact same place. Wondering if there is a better way to achieve this. 314-я смешанная авиационная дивизия 314th Mixed Aviation Division: The "Fighting Lemmings"- Forums: http://314thsquadron.enjin.com/ - ED Forum Group: http://forums.eagle.ru/group.php?groupid=119
RagnarDa Posted November 15, 2013 Posted November 15, 2013 (edited) Use flags and triggerzones in the mission editor instead of scripts. Make the house invisible and ROE = Green at the start of the mission. Place a triggerzone on the ambush-zone and make it activate when the convoy enters. When the trigger is activated, invisibility = off and ROE = Red. Edit: Green ROE is Weapon Hold, Red ROE is Weapon Free... Edited November 15, 2013 by RagnarDa DCS AJS37 HACKERMAN There will always be bugs. If everything is a priority nothing is.
Recommended Posts