BIS fnc briefingAnimate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Text replacement - "<tt>([^= ]+)<\/tt>" to "{{hl|$1}}")
Line 12: Line 12:
|p1= markerName: [[String]] - marker to animate
|p1= markerName: [[String]] - marker to animate


|p2= stepId: [[Number]] - step ID (steps are invisible markers named <tt>&lt;''markerName''&gt;_&lt;''stepId''&gt;</tt>)
|p2= stepId: [[Number]] - step ID (steps are invisible markers named {{hl|&lt;''markerName''&gt;_&lt;''stepId''&gt;}})


|p3= delay: [[String]] - commit time (transition duration)
|p3= delay: [[String]] - commit time (transition duration)

Revision as of 01:18, 16 November 2021

Hover & click on the images for description

Description

Description:
Animate briefing markers.
Execution:
call
Groups:
Briefing

Syntax

Syntax:
[markerName, stepId, delay] call BIS_fnc_briefingAnimate
Parameters:
markerName: String - marker to animate
stepId: Number - step ID (steps are invisible markers named <markerName>_<stepId>)
delay: String - commit time (transition duration)
Return Value:
Nothing

Examples

Example 1:
// given you have 6 markers: // - "myMarker" // - "myMarker_0" // - "myMarker_1" // - "myMarker_2" // - "myMarker_3" // - "myMarker_4" for "_i" from 0 to 4 do { private _commit = 1; ["myMarker", 5, _commit] call BIS_fnc_briefingAnimate; sleep _commit; };

Additional Information

See also:
BIS_fnc_briefingInit

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