VN_fnc_bomb_blu82
VN_fnc_bomb_blu82
Spawns bomb and either attaches a parachute or spawns a parachute to attach.
Syntax
[_position,_height,_parachute,_owner] call VN_fnc_bomb_blu82;Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
_position |
Array | [] |
Position for the bomb to land at. |
_height |
Number | 300 |
Height to spawn the bomb at, minimum 150 meters. |
_parachute |
Object | OBJNULL |
Parachute object that will be attachted to the bomb. |
_owner |
Object | OBJNULL |
Object which will be set as the owner of the bomb, use this to give players credit for kills from the bomb. |
Return value
[OBJECT,OBJECT] - Array containing bomb and parachute object.
Examples
[ [100,200,0], 300 ] call vn_fnc_bomb_blu82