BIS fnc briefingAnimate: Difference between revisions
Lou Montana (talk | contribs)  (Page filling)  | 
				m (example format)  | 
				||
| Line 31: | Line 31: | ||
	[[private]] _commit = 1;  | 	[[private]] _commit = 1;  | ||
	["myMarker", 5, _commit] [[call]] [[BIS_fnc_briefingAnimate]];  | 	["myMarker", 5, _commit] [[call]] [[BIS_fnc_briefingAnimate]];  | ||
	sleep _commit;  | 	[[sleep]] _commit;  | ||
};</code> |Example 1=  | };</code> |Example 1=  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
Revision as of 16:27, 4 June 2018
Description
- Description:
 - Animate briefing markers.
 - Execution:
 - call
 - Groups:
 - Uncategorised
 
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