Lua Functions
Lua functions description and basic instructions
Last updated
Lua functions description and basic instructions
Last updated
Lua Function | Description |
---|---|
bool
aiHasKey
("aiName", "keyName")
Check if blackboad has key with name.
bool
aiGetBoolKey
("aiName", "keyName")
Return bool key by name.
func
aiSetBoolKey
("aiName", "keyName", value)
Set bool key by name.
double
aiGetFloatKey
("aiName", "keyName")
Return float key by name.
func
aiSetFloatKey
("aiName", "keyName", value)
Set float key by name.
double
aiGetIntKey
("aiName", "keyName")
Return int key by name.
func
aiSetIntKey
("aiName", "keyName", value)
Set int key by name.
double
aiGetLongKey
("aiName", "keyName")
Return long key by name.
func
aiSetLongKey
("aiName", "keyName", value)
Set long key by name.
double
aiGetShortKey
("aiName", "keyName")
Return short key by name.
func
aiSetShortKey
("aiName", "keyName", value)
Set short key by name.
string
aiGetStringKey
("aiName", "keyName")
Return string key by name.
func
aiSetStringKey
("aiName", "keyName", value)
Set string key by name.
func
aiSetVector2Key
("aiName", "keyName", value, value)
Set Vector2 key by name.
func
aiSetVector3Key
("aiName", "keyName", value, value, value)
Set Vector3 key by name.