Timeline Lua API: Difference between revisions

From Off Grid Wiki
Jump to navigation Jump to search
(Created page with "<!-- This file is auto generated, please don't edit manually! --> = Timeline = == Description == Allows controlling Timelines on MissionObjects == Functions == === Play === <s...")
 
No edit summary
Line 40: Line 40:
|}
|}
'''Description''': Stops the timeline
'''Description''': Stops the timeline
'''Returns''': Nothing
=== SetDynamicCameraTarget ===
<syntaxhighlight source lang="lua">Timeline.SetDynamicCameraTarget(missionObjectName, targetName)</syntaxhighlight>
'''Expected parameter types'''
{| class="wikitable"
|-
! Name !! Type
|-
| missionObjectName || string
|-
| targetName || string
|}
'''Description''': Sets the look at & follow target for all dynamically targeted cameras in the timeline


'''Returns''': Nothing
'''Returns''': Nothing
Line 47: Line 62:
This file is auto generated, please don't edit manually!
This file is auto generated, please don't edit manually!


'''Docs last hacked together on''': 15/11/2019 14:59
'''Docs last hacked together on''': 23/07/2020 11:58
[[Category:Modding]][[Category:LuaAPI]]
[[Category:Modding]][[Category:LuaAPI]]

Revision as of 13:51, 23 July 2020

Timeline

Description

Allows controlling Timelines on MissionObjects

Functions

Play

Timeline.Play(missionObjectName)

Expected parameter types

Name Type
missionObjectName string

Description: Starts the timeline

Returns: Nothing

Pause

Timeline.Pause(missionObjectName)

Expected parameter types

Name Type
missionObjectName string

Description: Pauses the timeline

Returns: Nothing

Stop

Timeline.Stop(missionObjectName)

Expected parameter types

Name Type
missionObjectName string

Description: Stops the timeline

Returns: Nothing

SetDynamicCameraTarget

Timeline.SetDynamicCameraTarget(missionObjectName, targetName)

Expected parameter types

Name Type
missionObjectName string
targetName string

Description: Sets the look at & follow target for all dynamically targeted cameras in the timeline

Returns: Nothing


This file is auto generated, please don't edit manually!

Docs last hacked together on: 23/07/2020 11:58