Mission Editors
This information is currently a work in progress
-
Force a unit to eject, perhaps for a cutscene:
[_vehicle, _unit] execVM "\x\ace\addons\sys_eject\eject.sqf";
-
Force a unit to use the Jump Out action - useful for starting a paradrop, for instance:
[_vehicle, _unit] execVM "\x\ace\addons\sys_eject\jumpout.sqf";
-
Give the unit a parachute, move them up 800 meters, and start the skydive script with "Open Chute" action-menu option:
_unit addweapon "ACE_ParachutePack" or "ACE_ParachuteRoundPack";
_unit setPos [(position _unit select 0), (position _unit select 1), 800];
_unit execVM "\x\ace\addons\sys_eject\jumpout_cord.sqf";
- Move a unit into a steerable parachute which has been placed in the editor - no further scripting needed
Using BIS HALO functions combined with ACE can lead to unexpected results!
Addon Makers
To add support for Sys_Eject in your addon look at this example:
(1 is true 0 is false)
-
Adds an ejection seat
ACE_SYS_EJECT_EJECT = 1; // 1 is true, 0 is false
-
Adds the jump out command
ACE_SYS_EJECT_JUMP = 0; // 1 is true, 0 is false
-
Use this to determine if an aircraft has ejection seats for multiple crew members
ACE_SYS_EJECT_MULTICREW = 0; // 1 is true, 0 is false
- Select the type of ejection seat.
ace_ejection_seat = "ejection_seat_classname";
