diff -r ff7d4c176303 -r 2dcbebb06088 LuaAPI.wiki --- a/LuaAPI.wiki Mon Dec 13 13:02:17 2010 +0000 +++ b/LuaAPI.wiki Mon Dec 13 14:09:17 2010 +0000 @@ -162,6 +162,10 @@
returns tuple of x,y coordinates for the specified gear+=== !GetGearVelocity(gearUid) (dev) === + +
returns tuple of dx,dy values for the specified gear +=== !GetHogClan(gearUid) ===
returns the clan id of the specified hedgehog gear @@ -275,6 +279,10 @@Places the specified gear exactly at the position (x,y).+=== !SetGearVelocity(gearUid, dx, dy) === + +Gives the specified gear the velocity of dx, dy. +=== !SetAmmo(ammoType, count, probability, delay, numberInCrate) ===This updates the settings for a specified [AmmoTypes Ammo Type] as of count available for players, spawn probability, availability delay in turns, and the number available in crates. This is supposed to be used in the onAmmoStoreInit() even handler. @@ -303,10 +311,11 @@This sets the position and velocity of the second gear to the first one.-=== CopyPV2(gearUid, gearUid) === +=== CopyPV2(gearUid, gearUid) (deprecated) ===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. === !FollowGear(gearUid) ===Makes the gameclient follow the specifiec gear.