Difference between revisions of "cmf player fnc drinking"
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 adds an Ace Self Interaction to drink liquids from items to speed up stamina rec...") |
(No difference)
|
Latest revision as of 17:31, 17 December 2022
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