BIS_fnc_timeline_init
Jump to navigation
Jump to search
Description
Syntax
- Syntax:
- [timeline, initPosition, length, playRate, loop] call BIS_fnc_timeline_init
- Parameters:
- timeline: Object - the timeline object
- initPosition: Number - (Optional, default
timeline getVariable ["Pos", 0.0]
) Initial position - length: Number - (Optional, default
timeline getVariable ["Length", 10.0]
) Length - playRate: Number - (Optional, default
timeline getVariable ["PlayRate", 1.0]
) Play rate - loop: Boolean - (Optional, default
timeline getVariable ["Loop", false]
) true - loop enabled, false - loop disabled - reverse: Boolean - (Optional, default
timeline getVariable ["Reverse", false]
) true - reverse, false - Do not reverse - playOnStart: Boolean - (Optional, default
timeline getVariable ["PlayFromStart", false]
) true - play at scenario start, false - Do not play at scenario start - destroyWhenFinished: Boolean - (Optional, default
timeline getVariable ["DestroyWhenFinished", false]
) true - Destroy when done , false - Do not destroy when done - Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- BIS_fnc_timeline_deleted BIS_fnc_timeline_cleanup BIS_fnc_timeline_finish BIS_fnc_timeline_getAlpha BIS_fnc_timeline_getCurrentTime BIS_fnc_timeline_getInterpMode BIS_fnc_timeline_getLength BIS_fnc_timeline_getPlayFromStart BIS_fnc_timeline_getPlayRate BIS_fnc_timeline_getPlayTime BIS_fnc_timeline_getPosition BIS_fnc_timeline_getSimulatedCurves BIS_fnc_timeline_getStopTime BIS_fnc_timeline_getTimeLeft BIS_fnc_timeline_isFinished BIS_fnc_timeline_isLooping BIS_fnc_timeline_isPaused BIS_fnc_timeline_isPlaying BIS_fnc_timeline_play BIS_fnc_timeline_setInterpMode BIS_fnc_timeline_setLength BIS_fnc_timeline_setLoop BIS_fnc_timeline_setPause BIS_fnc_timeline_setPlayRate BIS_fnc_timeline_setPosition BIS_fnc_timeline_simulateCurves BIS_fnc_timeline_stop BIS_fnc_timeline_tick BIS_fnc_timeline_setReverse BIS_fnc_timeline_isReverse
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