VN_fnc_empty_click

From Savage Game Design Wiki
Revision as of 01:13, 5 May 2022 by Slow (talk | contribs) (Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= vn_weapons_functions |d= <pre>Checks if weapon ammo is empty, plays an empty sound if it is.</pre> |s= [] call VN...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): n/a
Effect(s): unknown

Description

Checks if weapon ammo is empty, plays an empty sound if it is.

Syntax

Syntax
[] call VN_fnc_empty_click;
Parameters
_unit: Object - (Optional, default OBJNULL) Unit firing the weapon.
_audio: String - (Optional, default "") Audio to play.
Return value
Boolean - Function reached the end.

Examples

Example 1
[player, "vn_emptysound"] call vn_fnc_empty_click;