Personal tools

Lua/Server/Checkpoint

From JC2-MP Documentation

< Lua‎ | Server
Jump to: navigation, search

Static functions

Returns Prototype
Checkpoint Create(table)
Checkpoint Create(Vector3)
Checkpoint GetById(number)

Functions

Returns Prototype
Vector3 GetActivationBox()
boolean GetCreateCheckpoint()
boolean GetCreateIndicator()
boolean GetCreateTrigger()
boolean GetDespawnOnEnter()
number GetId()
string GetText()
number GetType()
Remove()
Respawn()
SetActivationBox(Vector3)
SetCreateCheckpoint(boolean)
SetCreateIndicator(boolean)
SetCreateTrigger(boolean)
SetDespawnOnEnter(boolean)
SetPosition(Vector3)
SetText(string)
SetType(number)

Functions inherited from StreamableObject

Returns Prototype
Angle GetAngle()
CellID GetCellId()
boolean GetEnabled()
Vector3 GetPosition()
number GetStreamDistance()
iterator GetStreamedPlayers()
World GetWorld()
SetEnabled(boolean)
SetStreamDistance(number)
SetWorld(World)

Functions inherited from EntityStorageBase

Returns Prototype
object GetValue(string)
SetNetworkValue(string, object)
SetValue(string, object)

Operators

Returns Prototype
boolean Checkpoint == Checkpoint