VN_fnc_empty_click

From Savage Game Design Wiki
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;