allowCrewInImmobile: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{uc:{{PAGENAME}}}} " to "") |
Lou Montana (talk | contribs) |
||
Line 15: | Line 15: | ||
|p2= bool: [[Boolean]] | |p2= bool: [[Boolean]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>_vehicle [[allowCrewInImmobile]] [[true]];</code> | |x1= <code>_vehicle [[allowCrewInImmobile]] [[true]];</code> |
Revision as of 10:00, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- 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;