Last active
October 3, 2019 11:43
-
-
Save masala-man/c24ddd9c66ba8c800c582faf99ab46a6 to your computer and use it in GitHub Desktop.
[Alarm Trigger] Trigger for camp rogain squads to react to BLUFOR engagement. #arma
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Trigger Parameters: | |
//Name: baseSafe | |
//Shape: ellipse | |
//Size: 500;400;-1 | |
panzerA1 setPos (c1a modelToWorld [0,1,0]); //Detach from chair and end ambient sitting animation | |
panzerA1 call BIS_fnc_ambientAnim__terminate; | |
panzerA2 setPos (c2a modelToWorld [0,1,0]); | |
panzerA2 call BIS_fnc_ambientAnim__terminate; | |
panzerA3 setPos (c3a modelToWorld [0,1,0]); | |
panzerA3 call BIS_fnc_ambientAnim__terminate; | |
panzerB1 call BIS_fnc_ambientAnim__terminate; | |
panzerB3 call BIS_fnc_ambientAnim__terminate; | |
crewA = createGroup east; //Regroup into crews | |
crewB = createGroup east; | |
[panzerA1,panzerA2,panzerA3] join crewA; | |
[panzerB1,panzerB2,panzerB3] join crewB; | |
panzerA1 assignAsCommander panzerA; //Vehicle roles | |
panzerA2 assignAsGunner panzerA; | |
panzerA3 assignAsDriver panzerA; | |
panzerB1 assignAsCommander panzerB; | |
panzerB2 assignAsGunner panzerB; | |
panzerB3 assignAsDriver panzerB; | |
[panzerA2,panzerA2,panzerA3] orderGetIn true; //Enter vehicles | |
[panzerB1,panzerB2,panzerB3] orderGetIn true; | |
ERP = createGroup east; //Unarmed Rifleman Squad | |
[chump1,chump2,chump3,chump4] join ERP; | |
chump3 call BIS_fnc_ambientAnim__terminate; | |
chump1 addWeapon "arifle_Katiba_F"; | |
chump2 addWeapon "arifle_Katiba_F"; | |
chump3 addWeapon "arifle_Katiba_F"; | |
chump4 addWeapon "arifle_Katiba_F"; | |
patrol1 setBehaviour "AWARE"; //Send outer patrol group to guard H-barricade | |
while {(count (waypoints patrol1)) > 0} do | |
{ | |
deleteWaypoint ((waypoints patrol1) select 0); | |
}; | |
p1w1 = patrol1 addWaypoint [[4945.79,5862.4,0],-1]; | |
p1w1 setWaypointType "GUARD"; | |
p1w1 setWaypointSpeed "FULL"; | |
patrol2 setBehaviour "COMBAT"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment