# HG changeset patch # User Wuzzy # Date 1685019948 0 # Node ID fbe2095f05e4e1694ab15ba6710716b6fd7cd621 # Parent 09bf7a4d5411eb2b4d64b6d52f56504943184ad2 LuaGears: remove version numbers diff -r 09bf7a4d5411 -r fbe2095f05e4 LuaGears.wiki --- a/LuaGears.wiki Thu May 25 13:05:11 2023 +0000 +++ b/LuaGears.wiki Thu May 25 13:05:48 2023 +0000 @@ -63,7 +63,7 @@ SetGearPosition(player, 1500, 1000) -- hint: If you don't call `SetGearPosition`, the hog spawns randomly -=== `AddMissionHog(health)` (0.9.25) === +=== `AddMissionHog(health)` === Add a hedgehog for the current team, using the player-chosen team identity when playing in singleplayer missions. The “current team” is the last team that was added with `AddMissionTeam` or `AddTeam`. The name and hat match the player's team definition. The hog is also always player-controlled. @@ -488,7 +488,7 @@ -- This makes AI hogs stop caring about attacking uselessHog == Hedgehog-specific gear properties == -=== `IsHogAlive(gearUid)` (1.0.0) === +=== `IsHogAlive(gearUid)` === Returns `true` if specified gear is a hedgehog, alive, not about to die and not hidden. Returns `false` otherwise. === `GetHogName(gearUid)` === @@ -558,7 +558,7 @@ === `GetAmmoCount(gearUid, ammoType)` === Returns the ammo count of the specified ammo type for the specified hedgehog gear. If infinite, returns `AMMO_INFINITE`. -=== `GetAmmoTimer(gearUid, ammoType)` (0.9.25) === +=== `GetAmmoTimer(gearUid, ammoType)` === Returns the currently configured ammo timer (in milliseconds) for the given hedgehog gear and specified ammo type. This is the timer which is set by the player by using the timer keys (1-5). For ammo types for which the timer cannot be changed, `nil` is returned. Example: @@ -582,7 +582,7 @@ HogTurnLeft(CurrentHedgehog, true) -- turns CurrentHedgehog left HogTurnLeft(CurrentHedgehog, false) -- turns CurrentHedgehog right -=== `IsHogHidden(gearUid)` (0.9.25) === +=== `IsHogHidden(gearUid)` === Returns true if hedgehog gear is hidden (e.g. via `HideHog` or the !TimeBox), false if it isn't, nil if that hedgehog never existed. === `HideHog(gearUid)` ===