allowCrewInImmobile: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
|game3= arma3 | |game3= arma3 | ||
|version3= 0.50 | |version3= 0.50 | ||
|arg= global | |||
|eff= global | |||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= If true, units can be in a vehicle with broken tracks/wheels. | |descr= If true, units can be in a vehicle with broken tracks/wheels. | ||
{{Feature | Informative | This command will automatically dispatch the call to where vehicle is local, however when vehicle locality changes, it might need to be called again to set it on the new locality}} | |||
|s1= vehicle [[allowCrewInImmobile]] bool | |s1= vehicle [[allowCrewInImmobile]] bool |
Revision as of 12:20, 12 November 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
- 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
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Object Manipulation
- Scripting Commands: Global Effect