BIS fnc sandstorm: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma2oa | | arma2oa | ||
|1.56 | |1.56 | ||
|arg= |MPARGUMENTS= | |arg= |MPARGUMENTS= | ||
Line 9: | Line 9: | ||
|eff= local |MPEffects= | |eff= local |MPEffects= | ||
|gr1 = Environment | |gr1 = Environment | ||
| Creates particle sandstorm round given object. {{Feature|arma3| '''newspapers''' parameter is disabled in {{arma3}} {{Inline code|if (_newspapers && false)...}}}} | | Creates particle sandstorm round given object. {{Feature|arma3| '''newspapers''' parameter is disabled in {{arma3}} {{Inline code|if (_newspapers && false)...}}}} | ||
| [object, ''interval'', ''brightness'', ''newspapers''] call [[BIS_fnc_sandstorm]] | | [object, ''interval'', ''brightness'', ''newspapers''] call [[BIS_fnc_sandstorm]] | ||
|p1= position: [[Object]] - sandstorm center (should be [[player]]) | |p1= position: [[Object]] - sandstorm center (should be [[player]]) | ||
|p2= interval ''(Optional)'': [[Number]] - particle refresh time (default is 0.07) Lower number makes the sandstorm more dense | |p2= interval ''(Optional)'': [[Number]] - particle refresh time (default is 0.07) Lower number makes the sandstorm more dense | ||
|p3= brightness ''(Optional)'': [[Number]] - brightness coeficient (default is 1) (1 - bright, 0 dark) | |p3= brightness ''(Optional)'': [[Number]] - brightness coeficient (default is 1) (1 - bright, 0 dark) | ||
|p4= newspapers ''(Optional)'': [[Boolean]] - true if flying newspapers will be present (default is [[true]]) | |p4= newspapers ''(Optional)'': [[Boolean]] - true if flying newspapers will be present (default is [[true]]) | ||
| [[Array]] of created particle effect | | [[Array]] of created particle effect | ||
|x1= <code>[<nowiki/>[[player]], 0.04, 0.8, [[false]]] [[call]] [[BIS_fnc_sandstorm]];</code> | |x1= <code>[<nowiki/>[[player]], 0.04, 0.8, [[false]]] [[call]] [[BIS_fnc_sandstorm]];</code> | ||
| [[Functions Library]] | | [[Functions Library]] | ||
}} | }} | ||
Revision as of 23:48, 17 January 2021
Description
- Description:
- Creates particle sandstorm round given object.
- Execution:
- call
- Groups:
- Environment
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) Lower number makes the sandstorm more dense
- brightness (Optional): Number - brightness coeficient (default is 1) (1 - bright, 0 dark)
- newspapers (Optional): Boolean - true if flying newspapers will be present (default is true)
- Return Value:
- Array of created particle effect
Examples
- Example 1:
[player, 0.04, 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