# HG changeset patch # User Wuzzy # Date 1525440307 -3600 # Node ID 8832f69b198f2d0e00c292951444ab070d9cba3d # Parent 225635def24e74d7c472efab5b59aa5dc02b985a GearTypes: More gtSwitcher babble diff -r 225635def24e -r 8832f69b198f GearTypes.wiki --- a/GearTypes.wiki Fri May 04 14:22:17 2018 +0100 +++ b/GearTypes.wiki Fri May 04 14:25:07 2018 +0100 @@ -238,11 +238,11 @@ Note: `dX` and `dY` are returned by the `GetGearVelocity` function. ==== `gtSwitcher` ==== -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. +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 must never be more than one `gtSwitcher` gear 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). +*Note*: To enable hog switching manually from Lua, `AddGear` won't work. You must call `EnableSwitchHog()` instead (only available in 0.9.25 or later). Alternatively, enabling the !GameFlag `gfSwitchHog` enables hog switching automatically on turn start for everyone. - * `X` and `Y`: Position of the spinning arrows + * `X` and `Y`: Position of the spinning arrows (visual effect only) ==== `gtTardis` ==== A !TimeBox. It works in several phases and an internal timer.