Difference between revisions of "BIS fnc sandstorm"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (Text replacement - "{{Function " to "{{RV|type=function ")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
+
{{RV|type=function
____________________________________________________________________________________________
 
  
| arma2oa |Game name=
+
| arma2oa
  
|1.56|Game version=
+
|1.56
  
|arg= |MPARGUMENTS=  
+
|arg=|eff= local
  
|eff= local |MPEffects=
+
|gr1 = Environment
  
|gr1 = Environment |GROUP1=
+
| 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. |Description=
+
| [object, ''interval'', ''brightness'', ''newspapers''] call [[BIS_fnc_sandstorm]]
____________________________________________________________________________________________
 
  
| [object, ''interval'', ''brightness'', ''newspapers''] call [[BIS_fnc_sandstorm]] |SYNTAX=
+
|p1= position: [[Object]] - sandstorm center (should be [[player]])
  
|p1= position: [[Object]] - sandstorm center (should be player) |PARAMETER1=
+
|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) |PARAMETER2=
+
|p3= brightness ''(Optional)'': [[Number]] - brightness coeficient (default is 1)  (1 - bright, 0 dark)
  
|p3= brightness ''(Optional)'': [[Number]] - brightness coeficient (default is 1) |PARAMETER3=
+
|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) |PARAMETER4=
+
| [[Array]] of created particle effect
  
| [[Array]] of created particle effect |RETURNVALUE=
+
|x1= <code>[<nowiki/>[[player]], 0.04, 0.8, [[false]]] [[call]] [[BIS_fnc_sandstorm]];</code>
____________________________________________________________________________________________
 
  
|x1= <code>[<nowiki/>[[player]], -1, 0.8, [[false]]] [[call]] [[BIS_fnc_sandstorm]];</code> |EXAMPLE1=
+
| [[Functions Library]]
____________________________________________________________________________________________
 
 
 
| [[Functions Library]] |SEEALSO=
 
 
}}
 
}}
  
<h3 style='display:none'>Notes</h3>
 
<dl class='command_description'>
 
<!-- Note Section BEGIN -->
 
  
<!-- Note Section END -->
 
</dl>
 
  
<h3 style='display:none'>Bottom Section</h3>
 
 
[[Category:Functions|{{uc:sandstorm}}]]
 
[[Category:Functions|{{uc:sandstorm}}]]
 
[[Category:{{Name|arma2oa}}: Functions|{{uc:sandstorm}}]]
 
[[Category:{{Name|arma2oa}}: Functions|{{uc:sandstorm}}]]
 
[[Category:{{Name|tkoh}}: Functions|{{uc:sandstorm}}]]
 
[[Category:{{Name|tkoh}}: Functions|{{uc:sandstorm}}]]
 
[[Category:{{Name|arma3}}: Functions|{{uc:sandstorm}}]]
 
[[Category:{{Name|arma3}}: Functions|{{uc:sandstorm}}]]

Latest revision as of 21:19, 23 January 2021

Introduced with Arma 2: Operation Arrowhead version 1.561.56Effect is local to the client
Hover & click on the images for descriptions

Description

Description:
Creates particle sandstorm round given object.
Arma 3
newspapers parameter is disabled in Arma 3 if (_newspapers && false)...
Execution:
call

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
Groups:
Environment

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.