BIS fnc briefingAnimate: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.78 | |1.78 | ||
|gr1 = Briefing | |gr1 = Briefing | ||
| Animate briefing markers. | | Animate briefing markers. | ||
| [markerName, stepId, delay] call [[BIS_fnc_briefingAnimate]] | | [markerName, stepId, delay] call [[BIS_fnc_briefingAnimate]] | ||
|p1= markerName: [[String]] - marker to animate | |p1= markerName: [[String]] - marker to animate | ||
|p2= stepId: [[Number]] - step ID (steps are invisible markers named <tt><''markerName''>_<''stepId''></tt>) | |p2= stepId: [[Number]] - step ID (steps are invisible markers named <tt><''markerName''>_<''stepId''></tt>) | ||
|p3= delay: [[String]] - commit time (transition duration) | |p3= delay: [[String]] - commit time (transition duration) | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>{{codecomment|// given you have 6 markers: | |x1= <code>{{codecomment|// given you have 6 markers: | ||
Line 30: | Line 30: | ||
["myMarker", 5, _commit] [[call]] [[BIS_fnc_briefingAnimate]]; | ["myMarker", 5, _commit] [[call]] [[BIS_fnc_briefingAnimate]]; | ||
[[sleep]] _commit; | [[sleep]] _commit; | ||
};</code> | };</code> | ||
| [[BIS_fnc_briefingInit]] | | [[BIS_fnc_briefingInit]] | ||
}} | }} | ||
Revision as of 22:39, 17 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