148 * `Health`: Hedgehog's health. |
148 * `Health`: Hedgehog's health. |
149 * `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 |
150 * `Boom`: Explosion size and damage caused when the hedgehog dies (default: 30) |
150 * `Boom`: Explosion size and damage caused when the hedgehog dies (default: 30) |
151 * `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 |
152 |
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.) |
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 |
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. |
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 many hedgehog-related functions in LuaAPI. |
156 |
|
157 See `LuaAPI`. |
|
158 |
|
159 TODO: Write more about hedgehogs. |
|
160 |
156 |
161 ==== `gtPortal` ==== |
157 ==== `gtPortal` ==== |
162 A portal from the portable portal device. |
158 A portal from the portable portal device. |
163 |
159 |
164 * `Tag`: Portal state. 0=orange flying, 1=orange placed, 2=blue flying, 3=blue placed |
160 * `Tag`: Portal state. 0=orange flying, 1=orange placed, 2=blue flying, 3=blue placed |