GearTypes.wiki
changeset 780 7c3fd495897b
parent 778 edd98bc89d83
child 781 2e169402d576
equal deleted inserted replaced
779:2d1e44c79b8e 780:7c3fd495897b
   141  * `Health`: If 0, it is not being resurrected. With larger values, it is being resurrected, and the value stands for amount of health the owner of this grave has received so far.
   141  * `Health`: If 0, it is not being resurrected. With larger values, it is being resurrected, and the value stands for amount of health the owner of this grave has received so far.
   142 
   142 
   143 ==== `gtHedgehog` ====
   143 ==== `gtHedgehog` ====
   144 A hedgehog.
   144 A hedgehog.
   145 
   145 
       
   146 Basic attributes are:
       
   147 
       
   148  * `Health`: Hedgehog's health.
   146  * `Tag`: Used for animation. `0` = no animation plays. Other value: animation plays
   149  * `Tag`: Used for animation. `0` = no animation plays. Other value: animation plays
   147  * `Health`: Hedgehog's health.
   150  * `Boom`: Explosion size and damage caused when the hedgehog dies (default: 30)
   148  * `FlightTime`: Time (in milliseconds) since the hedgehog stood the last time on solid ground
   151  * `FlightTime`: Time (in milliseconds) since the hedgehog stood the last time on solid ground
   149  * `Boom`: Explosion size and damage caused when the hedgehog dies (default: 30)
   152 
       
   153 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.)
       
   154 
       
   155 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 these functions in LuaAPI.
       
   156 
       
   157 See `LuaAPI`.
   150 
   158 
   151 TODO: Write more about hedgehogs.
   159 TODO: Write more about hedgehogs.
   152 
   160 
   153 ==== `gtPortal` ====
   161 ==== `gtPortal` ====
   154 A portal from the portable portal device.
   162 A portal from the portable portal device.