VN_fnc_melee_damage

From Savage Game Design Wiki
Revision as of 20:15, 9 May 2022 by Slow (talk | contribs) (Created page with "{{Function |v= 1.00 |author=Kerc/IFA3 & Ethan Johnson |a= |e= |g1= vn_melee_functions |d= <pre>Deal damage to the unit that has been intersected through the melee system.<...")
(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 Kerc/IFA3 & Ethan Johnson
Argument(s): n/a
Effect(s): unknown

Description

Deal damage to the unit that has been intersected through the melee system.

Syntax

Syntax
[_projectile,_impact_asl,_time,_normal,_object,_player,_evh,_start_time] call VN_fnc_melee_damage;
Parameters
_projectile: Object - Projectile object
_impact_asl: Array - Impact ASL position
_time: Number - Current time
_normal: Array - Impact normal
_object: Object - Object that has been intersected
_player: Object - Players object
_evh: String - Eventhandler ID
_start_time: Number - Time at which the action started
Return value
Boolean - Function reached the end

Examples

Example 1
[bullet, [1,1,5], 15, [0,0,1], man1, player, "melee_evh", 10] call vn_fnc_melee_damage;