GearTypes.wiki
changeset 1061 f5bc09b93b64
parent 1028 87a758104dea
child 1070 a4ef27a698aa
equal deleted inserted replaced
1060:7b2cde186c96 1061:f5bc09b93b64
   171  * `Health`: Hedgehog's health.
   171  * `Health`: Hedgehog's health.
   172  * `Tag`: Used for animation. `0` = no animation plays. Other value: animation plays
   172  * `Tag`: Used for animation. `0` = no animation plays. Other value: animation plays
   173  * `Radius`: Collision radius. Default: 9
   173  * `Radius`: Collision radius. Default: 9
   174  * `Boom`: Explosion size and damage caused when the hedgehog dies (default: 30)
   174  * `Boom`: Explosion size and damage caused when the hedgehog dies (default: 30)
   175  * `FlightTime`: Time (in milliseconds) since the hedgehog stood the last time on solid ground
   175  * `FlightTime`: Time (in milliseconds) since the hedgehog stood the last time on solid ground
       
   176  * `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
   176 
   177 
   177 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.)
   178 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.)
   178 
   179 
   179 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 LuaAPI.
   180 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 LuaAPI.
   180 
   181