Difference between revisions of "VN ms fnc createFlare"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "]]; |p1n=" to "]] |p1n=") |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 8: | Line 7: | ||
|a= | |a= | ||
− | |e= | + | |e= global |
+ | |||
+ | |n= server | ||
|g1= general | |g1= general | ||
− | |d= | + | |d= Create ilumination flare on given position. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[ | + | |s= [position, size] call [[VN_ms_fnc_createFlare]] |
− | |p1n= | + | |p1n= position |
− | |p1t= | + | |p1t= array |
− | |p1d= | + | |p1d= the flare's position |
|p1v= | |p1v= | ||
− | |p2n= | + | |p2n= size |
− | |p2t= | + | |p2t= number |
− | |p2d= | + | |p2d= the flare's size - can only be 0, 1 or 2 for small, medium and large |
− | |p2v= | + | |p2v= 0 |
− | |r1t= | + | |r1t= object |
− | |r1d= | + | |r1d= the flare object |
− | |x1= <code> | + | |x1= <code>[getPos player vectorAdd [0, 0, 50], 2] call [[VN_ms_fnc_createFlare]];</code> |
}} | }} |
Latest revision as of 18:13, 22 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Create ilumination flare on given position.
Syntax
- Syntax
- [position, size] call VN_ms_fnc_createFlare
- Parameters
- position: Array - the flare's position
- size: Number - (Optional, default
0
) the flare's size - can only be 0, 1 or 2 for small, medium and large - Return value
- Object - the flare object
Examples
- Example 1
[getPos player vectorAdd [0, 0, 50], 2] call VN_ms_fnc_createFlare;