Difference between revisions of "VN fnc bomb blu82"
Jump to navigation
Jump to search
(Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= vn_bomb_functions |d= <pre>Spawns bomb and either attaches a parachute or spawns a parachute to attach.</pre> |s= [...") |
|||
Line 11: | Line 11: | ||
|d= <pre>Spawns bomb and either attaches a parachute or spawns a parachute to attach.</pre> | |d= <pre>Spawns bomb and either attaches a parachute or spawns a parachute to attach.</pre> | ||
− | |s= [] call [[VN_fnc_bomb_blu82]]; | + | |s= [_position,_height,_parachute,_owner] call [[VN_fnc_bomb_blu82]]; |
|p1n=_position | |p1n=_position |
Latest revision as of 01:25, 5 May 2022
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Spawns bomb and either attaches a parachute or spawns a parachute to attach.
Syntax
- Syntax
- [_position,_height,_parachute,_owner] call VN_fnc_bomb_blu82;
- Parameters
- _position: Array - (Optional, default
[]
) Position for the bomb to land at. - _height: Number - (Optional, default
300
) Height to spawn the bomb at, minimum 150 meters. - _parachute: Object - (Optional, default
OBJNULL
) Parachute object that will be attachted to the bomb. - _owner: Object - (Optional, default
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
- Example 1
- [ [100,200,0], 300 ] call vn_fnc_bomb_blu82