equal
deleted
inserted
replaced
4 |
4 |
5 = List of states = |
5 = List of states = |
6 |
6 |
7 || *Gear state* || *Description* || |
7 || *Gear state* || *Description* || |
8 || `gstHHDriven` || Hedgehog is controlled by current player || |
8 || `gstHHDriven` || Hedgehog is controlled by current player || |
9 || `gstHHChooseTarget` || Used for hedgehogs; if set, player can select a target with the cursor (e.g. for homing bee, air attack, etc.) || |
9 || `gstChooseTarget` || Used for hedgehogs; if set, player can select a target with the cursor (e.g. for homing bee, air attack, etc.) || |
10 || `gstHHJumping` || Used to indicate when a hedgehog is doing the long jump || |
10 || `gstHHJumping` || Used to indicate when a hedgehog is doing the long jump || |
11 || `gstHHHJump` || Used to indicate when a hedgehog is doing the high jump || |
11 || `gstHHHJump` || Used to indicate when a hedgehog is doing the high jump || |
12 || `gstHHThinking` || Thought bubble animation plays for hedgehog (used for AI players) || |
12 || `gstHHThinking` || Thought bubble animation plays for hedgehog (used for AI players) || |
13 || `gstHHDeath` || Hedgehog is dying || |
13 || `gstHHDeath` || Hedgehog is dying || |
14 || `gstHHGone` || Set if hedgehog is going to teleport away from the battlefield because the player left the game (in network play) || |
14 || `gstHHGone` || Set if hedgehog is going to teleport away from the battlefield because the player left the game (in network play) || |
24 || `gstAnimation` || Hedgehog plays an animation || |
24 || `gstAnimation` || Hedgehog plays an animation || |
25 || `gstWait` || || |
25 || `gstWait` || || |
26 || `gstNotKickable` || Hedgehog can't be knocked away by various means (i.e. rope-knocking) || |
26 || `gstNotKickable` || Hedgehog can't be knocked away by various means (i.e. rope-knocking) || |
27 || `gstInvisible` || Gear is invisible || |
27 || `gstInvisible` || Gear is invisible || |
28 || `gstSubmersible` || Gear can swim underwater || |
28 || `gstSubmersible` || Gear can swim underwater || |
29 || `gstFrozen` || Gear is frozen || |
29 || `gstFrozen` || Gear is frozen. This state is not for hedgehogs; for hedgehogs, use `SetEffect` and `GetEffect` with `effect=heFrozen` instead || |
30 || `gstNoGravity` || If set, gear is not subject to gravity (does not work for all gears) || |
30 || `gstNoGravity` || If set, gear is not subject to gravity (does not work for all gears) || |
31 |
31 |
32 See https://hg.hedgewars.org/hedgewars/file/default/hedgewars/uConsts.pas#l195 for a current list). |
32 See https://hg.hedgewars.org/hedgewars/file/default/hedgewars/uConsts.pas#l195 for a current list). |