Difference between revisions of "cmf gameplay fnc safeStart"

From cluster wiki
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 disallow shooting and grenades until safestart is disabled. While enabled i...")
 
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
|version2=2.1.0
|version2=2.1.0


|descr=This function will disallow shooting and grenades until safestart is disabled. While enabled it will also make all playerunits invincible. It's called automatically if enabled in [[Category:CMF3: Config|cmf_config.hpp]]. It can be disabled by zeus or admin by opening: "ACE Self Interaction Menu >> CC Menu >> Safestart Disable >> Instant / Delayed" or by setting '''cmf_gameplay_safestart_disable''' to true.
|descr=This function will disallow shooting and grenades until safestart is disabled. While enabled it will also make all playerunits invincible. It's called automatically if enabled in [[:Category:CMF3: Config|cmf_config.hpp]]. It can be disabled by zeus or admin by opening: "ACE Self Interaction Menu >> CC Menu >> Safestart Disable >> Instant / Delayed" or by setting '''cmf_gameplay_safestart_disable''' to true.


|exec=Call
|exec=Call
Line 19: Line 19:
|x1= {{code|lang=scilab|[] call cmf_gameplay_fnc_safeStart}}
|x1= {{code|lang=scilab|[] call cmf_gameplay_fnc_safeStart}}


|var1= {{!}} GLOBAL {{!}}{{!}} Unit {{!}}{{!}} cmf_gameplay_safestart_disable {{!}}{{!}} When false will block shooting and grenade tossing, when true will disable safestart
|seealso= [[cmf_gameplay_fnc_flashbangOverride]] [[cmf_gameplay_fnc_repairRearmStation]] [[cmf_gameplay_fnc_restrictedVehicle]]
[[cmf_gameplay_fnc_tracers]]
 
|var1= {{!}} GLOBAL {{!}}{{!}} Mission {{!}}{{!}} cmf_gameplay_safestart_disable {{!}}{{!}} When false will block shooting and grenade tossing, when true will disable safestart


|event1= {{!}} GLOBAL {{!}}{{!}} cmf_gameplay_safestart_onEnable {{!}}{{!}} [ ] {{!}}{{!}} Is raised globally when safestart is enabled.
|event1= {{!}} GLOBAL {{!}}{{!}} cmf_gameplay_safestart_onEnable {{!}}{{!}} [ ] {{!}}{{!}} Is raised globally when safestart is enabled.
|event2= {{!}} GLOBAL {{!}}{{!}} cmf_gameplay_safestart_onDisable {{!}}{{!}} [ ] {{!}}{{!}} Is raised globally when safestart is disabled.
|event2= {{!}} GLOBAL {{!}}{{!}} cmf_gameplay_safestart_onDisable {{!}}{{!}} [ ] {{!}}{{!}} Is raised globally when safestart is disabled.
}}
}}

Latest revision as of 21:45, 17 December 2022


Hover & click on the images for description
Description
Description:
This function will disallow shooting and grenades until safestart is disabled. While enabled it will also make all playerunits invincible. It's called automatically if enabled in cmf_config.hpp. It can be disabled by zeus or admin by opening: "ACE Self Interaction Menu >> CC Menu >> Safestart Disable >> Instant / Delayed" or by setting cmf_gameplay_safestart_disable to true.
Execution:
Call
Groups:
CMF3: gameplay
Syntax
Syntax:
[] call cmf_gameplay_fnc_safeStart
Return Value:
None
Examples
Example 1:
[] call cmf_gameplay_fnc_safeStart
Additional Information
See also:
cmf_gameplay_fnc_flashbangOverride cmf_gameplay_fnc_repairRearmStation cmf_gameplay_fnc_restrictedVehicle cmf_gameplay_fnc_tracers
Internal Variables
Locality Namespace Name Description
GLOBAL Mission cmf_gameplay_safestart_disable When false will block shooting and grenade tossing, when true will disable safestart
Events
Locality Name Variables Description
GLOBAL cmf_gameplay_safestart_onEnable [ ] Is raised globally when safestart is enabled.
GLOBAL cmf_gameplay_safestart_onDisable [ ] Is raised globally when safestart is disabled.
Notes