Difference between revisions of "Conversation Lua API"

From Off Grid Wiki
Jump to: navigation, search
(Update)
 
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
'''Expected parameter types'''
 
'''Expected parameter types'''
 
{| class="wikitable"
 
{| class="wikitable"
 +
|-
 +
! Name !! Type
 
|-
 
|-
 
| path || string
 
| path || string
Line 22: Line 24:
 
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''': 13/09/2017 13:56
+
'''Docs last hacked together on''': 06/09/2018 14:53
 +
[[Category:Modding]][[Category:LuaAPI]]

Latest revision as of 14:06, 6 September 2018

Conversation

Description

Allows the user to start scripted conversations

Functions

StartScript

Conversation.StartScript(path, onCompleteCallback)

Expected parameter types

Name Type
path string
onCompleteCallback Lua Type

Description: Starts a conversation from a name

Returns: Nothing

Notes: Must be in MissionFolder/Conversations/$path


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

Docs last hacked together on: 06/09/2018 14:53