cmf_gameplay_fnc_safeStart

From cluster wiki
Revision as of 17:33, 17 December 2022 by Eric (talk | contribs)
Jump to navigation Jump to search


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:
See also needed
Internal Variables
Locality Namespace Name Description
GLOBAL Unit 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