507 Returns the name of the specified gear’s team. `gearUid` can be a hedgehog or a grave. |
507 Returns the name of the specified gear’s team. `gearUid` can be a hedgehog or a grave. |
508 |
508 |
509 === <tt>!GetHogName(gearUid)</tt> === |
509 === <tt>!GetHogName(gearUid)</tt> === |
510 Returns the name of the specified hedgehog gear. |
510 Returns the name of the specified hedgehog gear. |
511 |
511 |
|
512 === <tt>!IsHogHidden(gearUid)</tt> (0.9.25) === |
|
513 Returns true if hedgehog gear is hidden (via `HideHog` or the !TimeBox, false if it isn't, nil if that hedgehog never existed. |
|
514 |
512 === <tt>!GetEffect(gearUid, effect)</tt> === |
515 === <tt>!GetEffect(gearUid, effect)</tt> === |
513 Returns the state of given effect for the given hedgehog gear. |
516 Returns the state of given effect for the given hedgehog gear. |
514 |
517 |
515 See `SetEffect` for further details. |
518 See `SetEffect` for further details. |
516 |
519 |
1264 Returns the current input mask of the player. |
1267 Returns the current input mask of the player. |
1265 |
1268 |
1266 ==== `SetVampiric(bool)` (0.9.24) ==== |
1269 ==== `SetVampiric(bool)` (0.9.24) ==== |
1267 Toggles vampirism mode for this turn. Set `bool` to `true` to enable (same effect as if the hedgehog has used Vampirism), `false` to disable. |
1270 Toggles vampirism mode for this turn. Set `bool` to `true` to enable (same effect as if the hedgehog has used Vampirism), `false` to disable. |
1268 |
1271 |
|
1272 ==== `GetVampiric()` (0.9.25) ==== |
|
1273 Returns true if vampirism mode is currently active. |
|
1274 |
1269 ==== `SetLaserSight(bool)` (0.9.24) ==== |
1275 ==== `SetLaserSight(bool)` (0.9.24) ==== |
1270 Toggles laser sight for this turn. Set `bool` to `true` to enable (same effect as if the hedgehog has used Laser Sight), `false` to disable. |
1276 Toggles laser sight for this turn. Set `bool` to `true` to enable (same effect as if the hedgehog has used Laser Sight), `false` to disable. |
|
1277 |
|
1278 ==== `GetLaserSight()` (0.9.25) ==== |
|
1279 Returns true if laser sight (as utility) is currently active. The sniper rifle's built-in laser sight does not count. |
1271 |
1280 |
1272 ==== `EnableSwitchHog()` (0.9.25) ==== |
1281 ==== `EnableSwitchHog()` (0.9.25) ==== |
1273 Enable hog switching mode for the current hedgehog. This function should be called while the hedgehog is standing on solid ground (`GetFlightTime` returns 0). |
1282 Enable hog switching mode for the current hedgehog. This function should be called while the hedgehog is standing on solid ground (`GetFlightTime` returns 0). |
1274 |
1283 |
1275 Internally, this tries to spawn a `gtSwitcher` gear which, as long it exists, handles the hog switching. You can delete this gear to stop the hog switching prematurely. If there already is a `gtSwitcher` gear, no additional gear is spawned. |
1284 Internally, this tries to spawn a `gtSwitcher` gear which, as long it exists, handles the hog switching. You can delete this gear to stop the hog switching prematurely. If there already is a `gtSwitcher` gear, no additional gear is spawned. |