allowGetIn: Difference between revisions
Jump to navigation
Jump to search
m (note) |
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "") |
||
Line 94: | Line 94: | ||
[[Category:Scripting Commands OFP 1.99|ALLOWGETIN]] | [[Category:Scripting Commands OFP 1.99|ALLOWGETIN]] | ||
[[Category:Scripting Commands OFP 1.96|ALLOWGETIN]] | [[Category:Scripting Commands OFP 1.96|ALLOWGETIN]] |
Revision as of 01:31, 5 February 2021
Description
- Description:
- Description needed
- Groups:
- Object ManipulationUnit Control
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unitArray: Array of units
- allow: Boolean - true allows the units to enter, false denies them
- Return Value:
- Return value needed
Examples
- Example 1:
[_soldier1, _soldier2] allowGetIn true;
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on 8 May, 2014 - 21:10
- ffur2007slx2_5
-
1.18 Here's a quick reference to unit's embarkation and disembarkation.
Command Remote Control Behavior Role Unassigning orderGetIn false orderGetIn won't take effect on player controlled AI units, and which needs to be used together with assaignAs command family. Generally speaking, orderGetIn is a Role Excuator. When orderGetIn was disabled it won't automatically unassign unit's vehicle role but will force the unit get out of the vehicle and stop him re-entering until it was enabled again. orderGetIn false won't stop a unit when he is embarking a vehicle in the half way but unassignVehicle will do. orderGetIn false will wait to fire until the unit enter a vehicle. allowGetIn false allowGetIn won't take effect on player controlled AI units. Different from orderGetIn, this command is a Role Holder, it can control the unit's movement in the half way set by orderGetIn but not by setWaypointType, unit will be forced to get out from a vehicle by allowGetIn false and won't automatically re-enter the vehicle until allowGetIn true allowGetIn won't do anything with unit's vehicle role doGetOut true Works on player controlled ai silently, unit will automatically get back to the vehicle after disembarkation. (Unit won't get out until vehicle is stopped or landed) false commandGetOut true Same as doGetOut with radio message. (Unit won't get out until vehicle is stopped or landed) false leaveVehicle false leaveVehicle can't force a player controlled AI disembark true action ["GetOut",_veh] true Eject immediately without parachute false action ["Eject",_veh] true Eject immediately with parachute if needed false setWaypointType "GETIN" false Waypoint won't be affected by orderGetIn false or allowGetIn false until the unit is on the vehicle. N/A
Categories:
- Stubs
- Scripting Commands
- Command Group: Object Manipulation
- Command Group: Unit Control
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands