BIS fnc timeline setPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )P([a-z])" to "$1p$3")
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.76


|1.76|Game version=
|gr1= Timeline


<!---|arg= local |Multiplayer Arguments=--->
|descr= Sets position of timeline.


<!---|eff= local |Multiplayer Effects=--->
|s1= [timeline, position] call [[BIS_fnc_timeline_setPosition]]


| <pre>/*
|p1= timeline: [[Object]] - the timeline object
Author: Nelson Duarte <@Nelson_G_Duarte>


Description:
|p2= position: [[Boolean]] - (Optional, default 0) position
Set's the playback position


Parameter(s):
|r1= [[Nothing]]
_this select 0: Object - The timeline
_this select 1: Float - The new timeline playback position


Returns:
|x1= <sqf>[timeline,2] call BIS_fnc_timeline_setPosition;</sqf>
Nothing
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


|[] call [[BIS_fnc_timeline_setPosition]]|Syntax=
|seealso= [[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_setLength]] [[BIS_fnc_timeline_setLoop]] [[BIS_fnc_timeline_setPause]] [[BIS_fnc_timeline_setPlayRate]] [[BIS_fnc_timeline_simulateCurves]] [[BIS_fnc_timeline_stop]] [[BIS_fnc_timeline_tick]] [[BIS_fnc_timeline_setReverse]] [[BIS_fnc_timeline_isReverse]]
 
|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
 
|Datatype - description|Return value=
 
|x1= <code></code>|Example 1=
 
|exec= call |Execution=
 
| |See also=
}}
}}
[[Category:Function Group: Timeline|{{uc:timeline_setPosition}}]]
[[Category:Functions|{{uc:timeline_setPosition}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:timeline_setPosition}}]]

Latest revision as of 12:31, 8 November 2023