GearTypes.wiki
changeset 1914 180d42ef766d
parent 1912 94899e4fabe6
child 1915 a043892f9a4d
equal deleted inserted replaced
1913:db5fab5b31da 1914:180d42ef766d
   176  * `Health`: Hedgehog's health.
   176  * `Health`: Hedgehog's health.
   177  * `Tag`: Used for animation. `0` = no animation plays. Other value: animation plays
   177  * `Tag`: Used for animation. `0` = no animation plays. Other value: animation plays
   178  * `Radius`: Collision radius. Default: 9
   178  * `Radius`: Collision radius. Default: 9
   179  * `Boom`: Explosion size and damage caused when the hedgehog dies (default: 30)
   179  * `Boom`: Explosion size and damage caused when the hedgehog dies (default: 30)
   180  * `FlightTime`: Time (in milliseconds) since the hedgehog stood the last time on solid ground
   180  * `FlightTime`: Time (in milliseconds) since the hedgehog stood the last time on solid ground
   181  * `dX`: Contains the horizontal speed (obviously). But also tells you which way the hog is looking. If negative, hog is facing left, otherwise it's facing right
   181  * `Damage`: Amount of damage the hog took in this turn. At the end of turn, the health will be reduced accordingly and the `Damage` is reset to 0
   182 
   182 
   183 Hedgehogs also make heavy use of the gear state, see [States]. [GearMessages Gear messages] are used for controlling a hedgehogs movement and actions (e.g. moving left, attacking, jumping, etc.)
   183 Hedgehogs also make heavy use of the gear state, see [States]. [GearMessages Gear messages] are used for controlling a hedgehogs movement and actions (e.g. moving left, attacking, jumping, etc.)
   184 
   184 
   185 Please note that hedgehogs have also many other attributes and functions which are specific to hedgehogs only (like name, team name, hat, etc.). You can find many hedgehog-related functions in LuaGears.
   185 Please note that hedgehogs have also many other attributes and functions which are specific to hedgehogs only (like name, team name, hat, etc.). You can find many hedgehog-related functions in LuaGears.
   186 
   186