{"name":"BIS_fnc_timeline_setLength","title":"BIS fnc timeline setLength","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_timeline_setLength","revid":348093,"updated":"2023-11-08T11:31:32Z","groups":["Timeline"],"status":"ok","games":{"arma3":"1.76"},"since":"arma3 1.76","arma3_since":"1.76","description":"Set's the length of this timeline in seconds.","syntaxes":[{"syntax":"[timeline, length] call BIS_fnc_timeline_setLength","params":[{"name":"timeline","type":"Object","description":"the timeline object","type_expr":"Object"},{"name":"length","type":"Number","optional":true,"default":"10","description":"new length","type_expr":"Number","text":"length: Number - (Optional, default 10) new length"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[timeline,5.5] call BIS_fnc_timeline_setLength;"]}],"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_init","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_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"]}