VN_fnc_melee_fired

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Kerc/IFA3 & Ethan Johnson
Argument(s): n/a
Effect(s): unknown

Description

Function runs when player fires the melee action.

Syntax

Syntax
[_position,_offset,_length,_player,_butt] call VN_fnc_melee_fired;
Parameters
_projectile: Object - Projectile object
_offset: Array - Offset from the selection position
_length: Number - Length of the intersection
_player: Object - Player object
_butt: Boolean - (Optional, default false) Is this a butt action
Return value
Boolean - Function reached the end

Examples

Example 1
[bullet, [0,1,0], 5, player, false] call vn_fnc_melee_fired