Timeline Lua API: Difference between revisions
No edit summary |
No edit summary |
||
Line 58: | Line 58: | ||
'''Returns''': Nothing | '''Returns''': Nothing | ||
=== PauseAI === | |||
<syntaxhighlight source lang="lua">Timeline.PauseAI(characterName)</syntaxhighlight> | |||
'''Expected parameter types''' | |||
{| class="wikitable" | |||
|- | |||
! Name !! Type | |||
|- | |||
| characterName || string | |||
|} | |||
'''Description''': Pauses an AI agent. | |||
'''Returns''': Nothing | |||
'''Notes''': Bit of a hack for Timeline use, this might get removed later on! | |||
=== UnpauseAI === | |||
<syntaxhighlight source lang="lua">Timeline.UnpauseAI(characterName)</syntaxhighlight> | |||
'''Expected parameter types''' | |||
{| class="wikitable" | |||
|- | |||
! Name !! Type | |||
|- | |||
| characterName || string | |||
|} | |||
'''Description''': Unpauses an AI agent, resuming standard behaviour. | |||
'''Returns''': Nothing | |||
'''Notes''': Bit of a hack for Timeline use, this might get removed later on! | |||
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''': | '''Docs last hacked together on''': 13/10/2021 15:55 | ||
[[Category:Modding]][[Category:LuaAPI]] | [[Category:Modding]][[Category:LuaAPI]] |
Revision as of 08:48, 14 October 2021
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
PauseAI
Timeline.PauseAI(characterName)
Expected parameter types
Name | Type |
---|---|
characterName | string |
Description: Pauses an AI agent.
Returns: Nothing
Notes: Bit of a hack for Timeline use, this might get removed later on!
UnpauseAI
Timeline.UnpauseAI(characterName)
Expected parameter types
Name | Type |
---|---|
characterName | string |
Description: Unpauses an AI agent, resuming standard behaviour.
Returns: Nothing
Notes: Bit of a hack for Timeline use, this might get removed later on!
This file is auto generated, please don't edit manually!
Docs last hacked together on: 13/10/2021 15:55