VN_fnc_bomb_blu82

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

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