GearTypes: Update gtSwitcher
authorWuzzy
Fri, 04 May 2018 14:22:17 +0100
changeset 1412 225635def24e
parent 1411 7c5c8c620a9f
child 1413 8832f69b198f
GearTypes: Update gtSwitcher
GearTypes.wiki
--- a/GearTypes.wiki	Fri May 04 14:16:09 2018 +0100
+++ b/GearTypes.wiki	Fri May 04 14:22:17 2018 +0100
@@ -238,7 +238,9 @@
 Note: `dX` and `dY` are returned by the `GetGearVelocity` function.
 
 ==== `gtSwitcher` ====
-This gear handles the hedgehog switching of the “Switch Hedgehog” utility.
+This gear handles switching of hedgehogs, represented by spinning arrows. As long this gear exists, hedgehogs can be switched with the Switch Hedgehog key. This gear is destroyed, thus ending hog switching, as soon the hedgehog does something, like walking or choosing a weapon. There should never be more than one `gtSwitcher` at once in the game.
+
+*Note*: To enable hog switching from Lua, `AddGear` won't work, you must call `EnableSwitchHog()` instead (available in 0.9.25 or later).
 
  * `X` and `Y`: Position of the spinning arrows