allowCrewInImmobile: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2oa | | arma2oa | ||
|1.60 | |1.60 | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| If true, units can be in a vehicle with broken tracks/wheels. | | If true, units can be in a vehicle with broken tracks/wheels. | ||
| vehicle '''allowCrewInImmobile''' bool | | vehicle '''allowCrewInImmobile''' bool | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] | ||
|p2= bool: [[Boolean]] | |p2= bool: [[Boolean]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_vehicle [[allowCrewInImmobile]] [[true]];</code> | |x1= <code>_vehicle [[allowCrewInImmobile]] [[true]];</code> | ||
| [[canMove]] | | [[canMove]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:02, 18 January 2021
Description
- Description:
- If true, units can be in a vehicle with broken tracks/wheels.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- vehicle allowCrewInImmobile bool
- Parameters:
- vehicle: Object
- bool: Boolean
- Return Value:
- Nothing
Examples
- Example 1:
_vehicle allowCrewInImmobile true;
Additional Information
- See also:
- canMove
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
Notes
Bottom Section
- Posted on April 27, 2015 - 19:52 (UTC)
- Killzone Kid
-
This will stop AI disembarking when immobile
KK_fnc_allowCrewInImmobile = { _this allowCrewInImmobile true; { _x disableAI "FSM"; _x setBehaviour "CARELESS"; } forEach crew _this; }; //example car call KK_fnc_allowCrewInImmobile;
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.60
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Object Manipulation
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Arma 2: Operation Arrowhead: New Scripting Commands List