edineygomes Posted May 17, 2017 Posted May 17, 2017 I would like to put, for example, Hawk anti-aircraft units without ammunition already at the beginning of the game to simulate his rearmament afterwards. Is there any command for this? Thank you !
feefifofum Posted May 17, 2017 Posted May 17, 2017 Interesting idea but I don't think there's any way to do this at the moment. You could place your unit in the mission with ROE set to weapon hold, alarm state green at WP0, and then use AI TASK PUSH and triggered actions to turn these to red/weapon free after a predetermined amount of time has passed...depending on the result you were looking for that might accomplish the same thing. :) THE GEORGIAN WAR - OFFICIAL F-15C DLC
edineygomes Posted May 18, 2017 Author Posted May 18, 2017 I was thinking of creating a mission to re-arm the units, escorting a convoy of trucks to the site
feefifofum Posted May 18, 2017 Posted May 18, 2017 They'd still have missiles visible if it's a launcher like the Hawk, but otherwise you could cheat this together... Name the convoy group "Rearm Convoy" At WP0, use the Advanced Waypoint Actions menu to set alarm state to green and ROE to weapon hold for your launcher group. Click the "triggered actions" tab at the top of the advanced waypoint action menu for your launcher group. Add two triggered actions: alarm state: red and ROE: weapon free Create a trigger zone of the desired size over your SAM group. We'll call it "Reloaded" for this example. Click the triggers tab on the left side of the ME, then create a new trigger: Triggers: 1 ONCE (SAMs reloaded, NO EVENT) Conditions: PART OF GROUP IN ZONE (Rearm convoy, Reloaded) Triggered Actions: AI TASK PUSH (Launchers 1. ROE: Weapon free) AI TASK PUSH (Launchers 2. Alarm state: RED) Now, when trucks from your convoy get within XX distance of the SAM site, it will turn on and start firing if targets are present. You can incorporate a flag if you want to delay how long it takes the SAMs to activate once the convoy arrives. THE GEORGIAN WAR - OFFICIAL F-15C DLC
Pikey Posted May 19, 2017 Posted May 19, 2017 Yep, either inactive and activate or ROE off. There is no setammo function in DCS to manipulate ammo. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
Recommended Posts