ace_overheating_fnc_getAmmoTemperature
Description
Get current temperature of weapon’s ammo.
Parameters
Index | Description | Datatype(s) | Default Value |
---|---|---|---|
0 | Unit | OBJECT | |
1 | Weapon | STRING |
Return Value
Description | Datatype(s) |
---|---|
Current ammunition temperature | NUMBER |
Example
[player, currentWeapon player] call ace_overheating_fnc_getAmmoTemperature
Authors
- drofseh
ace_overheating_fnc_getWeaponTemperature
Description
Get current temperature of weapon.
Parameters
Index | Description | Datatype(s) | Default Value |
---|---|---|---|
0 | Unit | OBJECT | |
1 | Weapon | STRING |
Return Value
Description | Datatype(s) |
---|---|
Current ammunition temperature | NUMBER |
Example
[player, currentWeapon player] call ace_overheating_fnc_getWeaponTemperature
Authors
- drofseh
ace_overheating_fnc_setAmmoTemperature
Description
Set weapon’s ammo to specific temperature.
Parameters
Index | Description | Datatype(s) | Default Value |
---|---|---|---|
0 | Unit | OBJECT | |
1 | Weapon | STRING | |
2 | Temperature | NUMBER |
Return Value
None
Example
[player, currentWeapon player, 123] call ace_overheating_fnc_setAmmoTemperature
Authors
- drofseh
ace_overheating_fnc_setWeaponTemperature
Description
Set weapon to specific temperature.
Parameters
Index | Description | Datatype(s) | Default Value |
---|---|---|---|
0 | Unit | OBJECT | |
1 | Weapon | STRING | |
2 | Temperature | NUMBER |
Return Value
None
Example
[player, currentWeapon player, 123] call ace_overheating_fnc_setWeaponTemperature
Authors
- drofseh