LuaGears: Ad IsHogAlive
authorWuzzy
Fri, 21 Jun 2019 23:26:34 +0100
changeset 1939 0cb80de3d5bb
parent 1938 e1b83a39bbbc
child 1940 37a2cc377a4f
LuaGears: Ad IsHogAlive
LuaGears.wiki
--- a/LuaGears.wiki	Fri Jun 21 23:24:31 2019 +0100
+++ b/LuaGears.wiki	Fri Jun 21 23:26:34 2019 +0100
@@ -473,6 +473,9 @@
 -- This makes AI hogs stop caring about attacking uselessHog</code>
 
 == Hedgehog-specific gear properties ==
+=== `IsHogAlive(gearUid)` (1.0.0) ===
+Returns `true` if specified gear is a hedgehog, alive, not about to die and not hidden. Returns `false` otherwise.
+
 === `GetHogName(gearUid)` ===
 Returns the name of the specified hedgehog gear.