Doors Lua API: Difference between revisions
Jump to navigation
Jump to search
m (Rich moved page Lua Apis/Doors Lua API to Doors Lua API without leaving a redirect) |
(Update) |
||
Line 1: | Line 1: | ||
<!-- This file is auto generated, please don't edit manually! --> | |||
= Doors = | = Doors = | ||
== Description == | == Description == | ||
Line 55: | Line 56: | ||
'''Docs last hacked together on''': 09 | This file is auto generated, please don't edit manually! | ||
'''Docs last hacked together on''': 13/09/2017 13:56 |
Revision as of 12:58, 13 September 2017
Doors
Description
API to control the logic of doors in the mission
Functions
SetZoneKeys
Doors.SetZoneKeys(zoneName, keyNames)
Expected parameter types
zoneName | string |
keyNames | Lua Table |
Description: Sets a key as unlocking a specific zone
Returns: Nothing
SetNetwork
Doors.SetNetwork(networkTable)
Expected parameter types
networkTable | Lua Table |
Description: Sets the name of the network for the door system to use
Returns: Nothing
SetKeyOnDevice
Doors.SetKeyOnDevice(keyName, device)
Expected parameter types
keyName | string |
device | Lua Table |
Description: Sets a key as the current NFC file on a net device
Returns: Nothing
AssignKeyToCharacter
Doors.AssignKeyToCharacter(keyName, characterTable)
Expected parameter types
keyName | string |
characterTable | Lua Table |
Description: Adds a key to a characters inventory and sets it as the characters current NFC data
Returns: Nothing
This file is auto generated, please don't edit manually!
Docs last hacked together on: 13/09/2017 13:56