Difference between revisions of "Template:LuaCallin"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{API |prefix = addon. |name = {{{name}}} |args = {{{args|}}} |return = {{{return|}}} |info = {{{info}}}}}</includeonly><noinclude>==Lua Callin usage example== <...") |
(No difference)
|
Latest revision as of 00:33, 10 September 2020
Lua Callin usage example
{{LuaCallin |name = AllowUnitTransfer |args = unitID, unitDefID, oldTeam, newTeam, capture |return = {{type|bool}} allow |info = Called just before a unit is transferred to a different team, the boolean return value determines whether or not the transfer is permitted. }}
Template:PrefixTemplate:NameTemplate:CodeStyle(unitID, unitDefID, oldTeam, newTeam, capture)
return: Template:CodeStyleTemplate:Type allow
- Called just before a unit is transferred to a different team, the boolean return value determines whether or not the transfer is permitted.