Difference between revisions of "BIS fnc sandstorm"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function|= " to "{{Function|Comments= ")
Line 8: Line 8:
 
|arg= |MPARGUMENTS=  
 
|arg= |MPARGUMENTS=  
  
|eff= local |MPEffects=____________________________________________________________________________________________
+
|eff= local |MPEffects=
 +
____________________________________________________________________________________________
  
| Creates particle sandstorm round given object. |=
+
| 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) |PARAMETER1=  
 
|p1= position: [[Object]] - sandstorm center (should be player) |PARAMETER1=  
Line 24: Line 25:
  
 
| [[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/>[[player]], -1, 0.8, [[false]]] [[call]] [[BIS_fnc_sandstorm]];</code> |EXAMPLE1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
 
| [[Functions Library]] |SEEALSO=  
 
| [[Functions Library]] |SEEALSO=  
 
|  |MPBEHAVIOUR=
 
____________________________________________________________________________________________
 
 
}}
 
}}
  

Revision as of 01:45, 1 October 2019

Introduced with Arma 2: Operation Arrowhead version 1.561.56Effects of this scripting function are not broadcasted over the network and remain local to the client the function is executed on
Hover & click on the images for descriptions

Description

Description:
Creates particle sandstorm round given object.

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

Execution:
call
See also:
Functions Library
Groups:
Uncategorised

Notes

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

Notes

Bottom Section