Add example of using ... and a table.
This commit is contained in:
@@ -26,6 +26,9 @@
|
|||||||
<Function name='FormatNumberAndSuffix' return='string' arguments='int num'>
|
<Function name='FormatNumberAndSuffix' return='string' arguments='int num'>
|
||||||
Returns the number passed to the function followed by its suffix ("th", "nd", and so on).
|
Returns the number passed to the function followed by its suffix ("th", "nd", and so on).
|
||||||
</Function>
|
</Function>
|
||||||
|
<Function name='LoadActor' return='ActorDef' arguments='string sPath, ...'>
|
||||||
|
Returns an Actor definition for the actor at <code>sPath</code>. If <code>sPath</code> points to a Lua file, any additional arguments will be passed to that script.
|
||||||
|
</Function>
|
||||||
</GlobalFunctions>
|
</GlobalFunctions>
|
||||||
|
|
||||||
<!-- Classes -->
|
<!-- Classes -->
|
||||||
@@ -103,6 +106,11 @@
|
|||||||
Returns the name of the game such as "dance" or "pump".
|
Returns the name of the game such as "dance" or "pump".
|
||||||
</Function>
|
</Function>
|
||||||
</Class>
|
</Class>
|
||||||
|
<Class name='GameState'>
|
||||||
|
<Function name='GetHumanPlayers' return='{PlayerNumber}' arguments=''>
|
||||||
|
Returns an array of <Link class='PlayerNumber'>PlayerNumber</Link>s corresponding to Human players.
|
||||||
|
</Function>
|
||||||
|
</Class>
|
||||||
<Class name='RageSound'>
|
<Class name='RageSound'>
|
||||||
<Description>
|
<Description>
|
||||||
See <Link class='ActorSound'>ActorSound</Link> for loading a sound.
|
See <Link class='ActorSound'>ActorSound</Link> for loading a sound.
|
||||||
|
|||||||
Reference in New Issue
Block a user