cmf_player_fnc_drinking

From cluster wiki
Revision as of 17:31, 17 December 2022 by Eric (talk | contribs) (Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=This function adds an Ace Self Interaction to drink liquids from items to speed up stamina rec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Hover & click on the images for description
Description
Description:
This function adds an Ace Self Interaction to drink liquids from items to speed up stamina recovery. Similar to the canteen seen in Periscope Games's Post Scriptum. It's called automatically if enabled in cmf_config.hpp
Execution:
Call
Groups:
CMF3: player
Syntax
Syntax:
[] call cmf_player_fnc_drinking
Return Value:
None
Examples
Example 1:
[] call cmf_player_fnc_drinking;
Additional Information
See also:
See also needed
Internal Variables
Locality Namespace Name Description
LOCAL Mission cmf_player_drinking_hydrationItems An Array variable containing the drinkable items in the following format: [objectClass, [itemClass, objectZOffset, recoveryFactor]]
LOCAL Mission cmf_player_drinking_fnc_consume An inline function for consuming items
Events
No events
Notes