Difference between revisions of "VN fnc artillery bomb guide"
Jump to navigation
Jump to search
(Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= artillery_functions |d= <pre>Guides a bomb through velocity transformation so it always hits the target.</pre> |s=...") |
|||
Line 11: | Line 11: | ||
|d= <pre>Guides a bomb through velocity transformation so it always hits the target.</pre> | |d= <pre>Guides a bomb through velocity transformation so it always hits the target.</pre> | ||
− | |s= [] call [[VN_fnc_artillery_bomb_guide]]; | + | |s= [_projectile,_target] call [[VN_fnc_artillery_bomb_guide]]; |
|p1n=_projectile | |p1n=_projectile |
Latest revision as of 02:14, 5 May 2022
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Guides a bomb through velocity transformation so it always hits the target.
Syntax
- Syntax
- [_projectile,_target] call VN_fnc_artillery_bomb_guide;
- Parameters
- _projectile: Object - (Optional, default
OBJNULL
) Projectile object - _target: Object - (Optional, default
OBJNULL
) Target object - Return value
- Boolean - Function reached the end
Examples
- Example 1
- [bomb, player] call vn_fnc_artillery_bomb_guide;