# HG changeset patch # User RedGrinner@gmail.com # Date 1316956020 0 # Node ID e41fcc3ff67ad27c8a4ae1e2d9296caacb70fa64 # Parent b21fdbe0d38067bfbfb007046652f94201b535e4 Edited wiki page LuaAPI through web user interface. diff -r b21fdbe0d380 -r e41fcc3ff67a LuaAPI.wiki --- a/LuaAPI.wiki Sun Sep 04 17:26:04 2011 +0000 +++ b/LuaAPI.wiki Sun Sep 25 13:07:00 2011 +0000 @@ -184,7 +184,7 @@
Adds a new team. Note that this can only be done in onGameInit(), not at a later time. First argument is the team name followed by color, grave, fort, voicepack and flag settings.
-Notice: This works only for singleplayers training missions for now and will desync multiplayer games. Flag setting is dev only. +Notice: This works only for singleplayer's training missions for now and will desync multiplayer games. Flag setting is dev only. Example: @@ -380,7 +380,7 @@ -=== !SetEffect(gearUid, effect, true/false) (0.9.14 / dev) === +=== !SetEffect(gearUid, effect, true/false) ===
Enables (true) or disables (false) one of the effects heInvulnerable, heResurrectable, hePoisoned for the specified hedgehog gear.
@@ -400,7 +400,7 @@
This sets the position of the second gear to that of the first one, but makes its velocity twice the one of the first.
-Notice: This is removed in dev, use GetGearVelocity and SetGearVelocity instead. +Notice: This function is no longer used, use GetGearVelocity and SetGearVelocity instead. === !FollowGear(gearUid) ===
Makes the gameclient follow the specifiec gear. @@ -425,7 +425,7 @@
Sets the timer of the specified gear. Also see !GetTimer.
-=== !SetBotLevel(gearUid) (dev) === +=== !SetBotLevel(gearUid) (0.9.16) ===
Sets the bot level from 0 to 5. 0 means human player.
@@ -507,7 +507,7 @@
Sets the current wind in the range of -100 to 100. Use together with gfDisableWind for full control.
-=== !GetDataPath() (dev) === +=== !GetDataPath() (0.9.15) ===
Returns the path to the data directory, used when adding libraries.
@@ -517,7 +517,7 @@
Returns the colour of the chosen clan by its number.
-=== !PlaceGirder(x, y, state) (dev) === +=== !PlaceGirder(x, y, state) (0.9.16) ===
Places a girder with centre points x, y and the chosen state. These are the accepted states: @@ -531,7 +531,7 @@ * 7: long, increasing
-=== !GetCurAmmoType() (dev) === +=== !GetCurAmmoType() (0.9.16) ===
Returns the currently selected [AmmoTypes Ammo Type].