BIS fnc briefingAnimate: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.78 | |||
| | |gr1= Briefing | ||
| | |descr= Animate briefing markers. | ||
| | |s1= [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 | |p2= stepId: [[Number]] - step ID (steps are invisible markers named {{hl|<''markerName''>_<''stepId''>}}) | ||
|p3= delay: [[String]] - commit time (transition duration) | |p3= delay: [[String]] - commit time (transition duration) | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf> | ||
// given you have 6 markers: | |||
// - "myMarker" | // - "myMarker" | ||
// - "myMarker_0" | // - "myMarker_0" | ||
Line 25: | Line 25: | ||
// - "myMarker_2" | // - "myMarker_2" | ||
// - "myMarker_3" | // - "myMarker_3" | ||
// - "myMarker_4" | // - "myMarker_4" | ||
for "_i" from 0 to 4 do { | |||
private _commit = 1; | |||
["myMarker", 5, _commit] | ["myMarker", 5, _commit] call BIS_fnc_briefingAnimate; | ||
sleep _commit; | |||
};</ | }; | ||
</sqf> | |||
| [[BIS_fnc_briefingInit]] | |seealso= [[BIS_fnc_briefingInit]] | ||
}} | }} | ||
Latest revision as of 11:03, 13 July 2022
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:
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