equal
deleted
inserted
replaced
471 <code language="lua"> |
471 <code language="lua"> |
472 SetGearAIHints(uselessHog, aihDoesntMatter) |
472 SetGearAIHints(uselessHog, aihDoesntMatter) |
473 -- This makes AI hogs stop caring about attacking uselessHog</code> |
473 -- This makes AI hogs stop caring about attacking uselessHog</code> |
474 |
474 |
475 == Hedgehog-specific gear properties == |
475 == Hedgehog-specific gear properties == |
|
476 === `IsHogAlive(gearUid)` (1.0.0) === |
|
477 Returns `true` if specified gear is a hedgehog, alive, not about to die and not hidden. Returns `false` otherwise. |
|
478 |
476 === `GetHogName(gearUid)` === |
479 === `GetHogName(gearUid)` === |
477 Returns the name of the specified hedgehog gear. |
480 Returns the name of the specified hedgehog gear. |
478 |
481 |
479 === `SetHogName(gearUid, name)` === |
482 === `SetHogName(gearUid, name)` === |
480 Sets the name of the specified hedgehog gear. |
483 Sets the name of the specified hedgehog gear. |