GearTypes.wiki
changeset 1412 225635def24e
parent 1273 199ac349aefc
child 1413 8832f69b198f
equal deleted inserted replaced
1411:7c5c8c620a9f 1412:225635def24e
   236  * `Tint`: Rope color as RGBA. This only works if `Tag` equals `1`
   236  * `Tint`: Rope color as RGBA. This only works if `Tag` equals `1`
   237 
   237 
   238 Note: `dX` and `dY` are returned by the `GetGearVelocity` function.
   238 Note: `dX` and `dY` are returned by the `GetGearVelocity` function.
   239 
   239 
   240 ==== `gtSwitcher` ====
   240 ==== `gtSwitcher` ====
   241 This gear handles the hedgehog switching of the “Switch Hedgehog” utility.
   241 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.
       
   242 
       
   243 *Note*: To enable hog switching from Lua, `AddGear` won't work, you must call `EnableSwitchHog()` instead (available in 0.9.25 or later).
   242 
   244 
   243  * `X` and `Y`: Position of the spinning arrows
   245  * `X` and `Y`: Position of the spinning arrows
   244 
   246 
   245 ==== `gtTardis` ====
   247 ==== `gtTardis` ====
   246 A !TimeBox. It works in several phases and an internal timer.
   248 A !TimeBox. It works in several phases and an internal timer.