Resource:Battlefield/createSquad: Difference between revisions
Jump to navigation
Jump to search
LeetWoovie (talk | contribs) No edit summary |
LeetWoovie (talk | contribs) No edit summary |
||
Line 25: | Line 25: | ||
end | end | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{| width="100%" style="text-align:left; background-color:#F9F9F9; border:1px solid #AAAAAA;" | |||
| [[Resource:Battlefield|Return to Battlefield Resource]] | |||
|} |
Revision as of 14:32, 22 April 2010
Purpose
Creates a squad element. Click here to read more about squads.
Syntax
squad createSquad ( team squadTeam, string shortName )
Required Arguments
Returns
Returns the squad element if it was created, otherwise false.
Function Source
function createSquad ( team, shortn ) squad = createElement ( "squad", team, shortn ) if squad then return squad else return false end end
Return to Battlefield Resource |