Difference between revisions of "cmf utility fnc preventProne"
Jump to navigation
Jump to search
(Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=This function will prevent the supplied unit from going prone. This is function is automatical...") |
|||
Line 20: | Line 20: | ||
|x1= {{code|lang=scilab|[[Unit1, Unit2, Unit3]] call cmf_utility_fnc_preventProne;}} | |x1= {{code|lang=scilab|[[Unit1, Unit2, Unit3]] call cmf_utility_fnc_preventProne;}} | ||
|seealso= [[cmf_utility_fnc_submitAAR]] [[cmf_utility_fnc_clearVehicleCargo]] [[cmf_utility_fnc_countDown]] [[cmf_utility_fnc_endLoadingScreen]] [[cmf_utility_fnc_freezeTime]] | |||
[[cmf_utility_fnc_nearestPlayer]] [[cmf_utility_fnc_restrictZeus]] [[cmf_utility_fnc_stripUnit]] | |||
|var1= {{!}} GLOBAL {{!}}{{!}} Mission {{!}}{{!}} cmf_utility_preventProne_disable {{!}}{{!}} A [https://community.bistudio.com/wiki/Boolean Boolean] variable that when is set to true will disable preventProne globally | |var1= {{!}} GLOBAL {{!}}{{!}} Mission {{!}}{{!}} cmf_utility_preventProne_disable {{!}}{{!}} A [https://community.bistudio.com/wiki/Boolean Boolean] variable that when is set to true will disable preventProne globally | ||
|var2= {{!}} GLOBAL {{!}}{{!}} Unit {{!}}{{!}} cmf_utility_preventProne_initialized {{!}}{{!}} A [https://community.bistudio.com/wiki/Boolean Boolean] variable that when is set to true will disable preventProne for unit | |var2= {{!}} GLOBAL {{!}}{{!}} Unit {{!}}{{!}} cmf_utility_preventProne_initialized {{!}}{{!}} A [https://community.bistudio.com/wiki/Boolean Boolean] variable that when is set to true will disable preventProne for unit | ||
}} | }} |
Latest revision as of 22:11, 17 December 2022
Description
- Description:
- This function will prevent the supplied unit from going prone. This is function is automatically called from cmf_ai_fnc_preventProne.
- Execution:
- Call
- Groups:
- CMF3: utility
Syntax
- Syntax:
- [target] call cmf_utility_fnc_preventProne
- Parameters:
- target: Array or Object - The unit or units to prevent prone.
- Return Value:
- None
Examples
- Example 1:
[[Unit1, Unit2, Unit3]] call cmf_utility_fnc_preventProne;
Additional Information
- See also:
- cmf_utility_fnc_submitAAR cmf_utility_fnc_clearVehicleCargo cmf_utility_fnc_countDown cmf_utility_fnc_endLoadingScreen cmf_utility_fnc_freezeTime cmf_utility_fnc_nearestPlayer cmf_utility_fnc_restrictZeus cmf_utility_fnc_stripUnit
Internal Variables
Locality | Namespace | Name | Description |
---|---|---|---|
GLOBAL | Mission | cmf_utility_preventProne_disable | A Boolean variable that when is set to true will disable preventProne globally |
GLOBAL | Unit | cmf_utility_preventProne_initialized | A Boolean variable that when is set to true will disable preventProne for unit |
Events
- No events
Notes