VN_fnc_melee_damage
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Kerc/IFA3 & Ethan Johnson |
|
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;