BIS fnc sandstorm: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Changed layout template from Command to Function)
m (template:command argument fix)
(2 intermediate revisions by one other user not shown)
Line 6: Line 6:
|1.56|=
|1.56|=


|arg= |= MPARGUMENTS
|arg= |MPARGUMENTS=  


|eff= local |= Effects in MP
|eff= local |= Effects in MP
Line 16: Line 16:
| [object,''interval'',''brightness'',''newspapers''] call '''BIS_fnc_sandstorm'''  |=
| [object,''interval'',''brightness'',''newspapers''] call '''BIS_fnc_sandstorm'''  |=


|p1= position: [[Object]] - sandstorm center (should be player) |= PARAMETER1
|p1= position: [[Object]] - sandstorm center (should be player) |PARAMETER1=  


|p2= interval ''(Optional)'': [[Number]] - particle refresh time (default is 0.07) |= PARAMETER2
|p2= interval ''(Optional)'': [[Number]] - particle refresh time (default is 0.07) |PARAMETER2=  


|p3= brightness ''(Optional)'': [[Number]] - brightness coeficient (default is 1) |= PARAMETER3
|p3= brightness ''(Optional)'': [[Number]] - brightness coeficient (default is 1) |PARAMETER3=


|p4= newspapers ''(Optional)'': [[Boolean]] - true if flying newspapers will be present (default is true) |= PARAMETER4
|p4= newspapers ''(Optional)'': [[Boolean]] - true if flying newspapers will be present (default is true) |PARAMETER4=


| [[Array]] of created particle effect |= RETURNVALUE
| [[Array]] of created particle effect |RETURNVALUE=


|x1= <code><nowiki>[</nowiki>[[player]], -1, 0.8, [[false]]<nowiki>]</nowiki> [[call]] [[BIS_fnc_sandstorm]];</code>|= EXAMPLE1
|x1= <code><nowiki>[</nowiki>[[player]], -1, 0.8, [[false]]<nowiki>]</nowiki> [[call]] [[BIS_fnc_sandstorm]];</code>|EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Functions Library]] |= SEEALSO
| [[Functions Library]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}
Line 43: Line 43:


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
 
[[Category:Function Group: Environment|{{uc:sandstorm}}]]
[[Category:ArmA 2: Functions|SANDSTORM}}]]
[[Category:Functions|{{uc:sandstorm}}]]
[[Category:Function Group: Environment|sandstorm]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:sandstorm}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:sandstorm}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:sandstorm}}]]

Revision as of 11:29, 7 April 2019

Hover & click on the images for description

Description

Description:
Creates particle sandstorm round given object.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[object,interval,brightness,newspapers] call BIS_fnc_sandstorm
Parameters:
position: Object - sandstorm center (should be player)
interval (Optional): Number - particle refresh time (default is 0.07)
brightness (Optional): Number - brightness coeficient (default is 1)
newspapers (Optional): Boolean - true if flying newspapers will be present (default is true)
Return Value:
Array of created particle effect

Examples

Example 1:
[player, -1, 0.8, false] call BIS_fnc_sandstorm;

Additional Information

See also:
Functions Library

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section