BIS fnc crows: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Plays in-game video.<br /><br />GUI layer for video is 25.<br /><br />Script terminates itself when video stops.
| Spawns flock of crows circling the area.
|=
|=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [path,''size'',''color''] call '''BIS_fnc_playVideo'''  |=
| [position,''areaSize'',''number''] call '''BIS_fnc_crows'''  |=


|p1= path: [[String]] - full path to OGV file |= PARAMETER1  
|p1= position: [[Array]] (in format [[position]]) or [[Object]] (object position) or [[String]] (marker position) |= PARAMETER1  


|p2= size ''(Optional)'': [[Array]] in format [x, y, w, h] |= PARAMETER2  
|p2= areaSize ''(Optional)'': [[Number]] - area radius |= PARAMETER2  


|p3= color ''(Optional)'': [[Array]] in format [[Color]] |= PARAMETER3
|p3= number ''(Optional)'': [[Number]] of crows |= PARAMETER3


| [[Nothing]] |= RETURNVALUE
| [[Array]] - List of spawned crows<br /><br /> |= RETURNVALUE


|x1= <code>_video <nowiki>=</nowiki> ["\ca\video_pmc\CP00_intro.ogv"] [[spawn]] bis_fnc_playVideo;<br />[[waitUntil]] {[[scriptDone]] _video};</code>|= EXAMPLE1
|x1= <code>bis_crows <nowiki>=</nowiki> [BIS_scientist,20,8,20] [[call]] bis_fnc_crows;</code>|= EXAMPLE1
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 43: Line 43:
<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>


[[Category:ArmA 2: Functions|PLAYVIDEO}}]]
[[Category:ArmA 2: Functions|CROWS}}]]

Revision as of 11:09, 29 November 2010

Hover & click on the images for description

Description

Description:
Spawns flock of crows circling the area.
Groups:
Uncategorised

Syntax

Syntax:
[position,areaSize,number] call BIS_fnc_crows
Parameters:
position: Array (in format position) or Object (object position) or String (marker position)
areaSize (Optional): Number - area radius
number (Optional): Number of crows
Return Value:
Array - List of spawned crows

Examples

Example 1:
bis_crows = [BIS_scientist,20,8,20] call bis_fnc_crows;

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