BIS fnc briefingAnimate: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Briefing(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Briefing |GROUP1= | |gr1 = Briefing |GROUP1= | ||
| Animate briefing markers. |Description= | | Animate briefing markers. |Description= | ||
| [markerName, stepId, delay] call [[BIS_fnc_briefingAnimate]] |Syntax= | | [markerName, stepId, delay] call [[BIS_fnc_briefingAnimate]] |Syntax= | ||
Line 21: | Line 18: | ||
| [[Nothing]] |Return value= | | [[Nothing]] |Return value= | ||
|x1= <code>{{codecomment|// given you have 6 markers: | |x1= <code>{{codecomment|// given you have 6 markers: | ||
Line 35: | Line 31: | ||
[[sleep]] _commit; | [[sleep]] _commit; | ||
};</code> |Example 1= | };</code> |Example 1= | ||
| [[BIS_fnc_briefingInit]] |See also= | | [[BIS_fnc_briefingInit]] |See also= |
Revision as of 22:41, 16 January 2021
Description
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