# HG changeset patch # User Wuzzy # Date 1561155994 -3600 # Node ID 0cb80de3d5bb0c763f4c7fd05dc7cddc67ce829f # Parent e1b83a39bbbcba00c083654d859f31d6d615eae2 LuaGears: Ad IsHogAlive diff -r e1b83a39bbbc -r 0cb80de3d5bb 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 == 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.