--- 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</code>
-=== `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</code>
== 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 @@
<code language="lua"> HogTurnLeft(CurrentHedgehog, true) -- turns CurrentHedgehog left
HogTurnLeft(CurrentHedgehog, false) -- turns CurrentHedgehog right</code>
-=== `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)` ===