Lua_System - beyond-all-reason/springrts_engine_wiki_mirror GitHub Wiki
known_callins = {
["CallInName"] = { unsynced = boolean, controller = boolean }, (`controller` is true for
all CallIns which's return values are used by the engine for synced code,
e.g. "AllowUnitCreation" is a controller)
...
}
or
access = {
[ctrl = number teamID,]
[read = number teamID,]
[select = number teamID,]
}
or
access = {
[ctrl = number teamID,] (limits Spring.GiveOrderXYZ)
[read = number teamID,] (limits reading of unit params, e.g. Spring.GetUnitLosState)
[select = number teamID,] (limits Spring.SelectUnitXYZ)
}
category: Lua
category: Lua