Template:LuaCallin

From Spring
Revision as of 01:14, 1 January 2013 by Flozi (talk | contribs) (zzzzap)
Jump to navigationJump to search

Lua Callin example:

{{luacallin|wudget|name|param_list|return_list|description}}

gadget:AllowUnitCreation

( number unitDefID, number builderID, number builderTeam,
number x, number y, number z,
number facing )

return: bool allow

Called just before unit is created, the boolean return value determines whether or not the creation is permitted.


{{{prefix}}}[[#{{{name}}}|{{{name}}}]]({{{args}}})

{{{info}}}