author | Wuzzy |
Tue, 21 Aug 2018 21:13:46 +0100 | |
changeset 1514 | f9f99f1cf286 |
parent 1233 | 5776338a1613 |
child 2093 | 6edb9964990d |
permissions | -rw-r--r-- |
584
9e5ad14e0afb
Some ad-hoc descriptions for some gear states. I hope they are not too wrong.
almikes@aol.com
parents:
429
diff
changeset
|
1 |
#summary List of states gears can be in |
9e5ad14e0afb
Some ad-hoc descriptions for some gear states. I hope they are not too wrong.
almikes@aol.com
parents:
429
diff
changeset
|
2 |
|
9e5ad14e0afb
Some ad-hoc descriptions for some gear states. I hope they are not too wrong.
almikes@aol.com
parents:
429
diff
changeset
|
3 |
This is a list of states gears can be in: |
429 | 4 |
|
740 | 5 |
= List of states = |
6 |
||
584
9e5ad14e0afb
Some ad-hoc descriptions for some gear states. I hope they are not too wrong.
almikes@aol.com
parents:
429
diff
changeset
|
7 |
|| *Gear state* || *Description* || |
9e5ad14e0afb
Some ad-hoc descriptions for some gear states. I hope they are not too wrong.
almikes@aol.com
parents:
429
diff
changeset
|
8 |
|| `gstHHDriven` || Hedgehog is controlled by current player || |
825 | 9 |
|| `gstChooseTarget` || Used for hedgehogs; if set, player can select a target with the cursor (e.g. for homing bee, air attack, etc.) || |
783 | 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 || |
|
12 |
|| `gstHHThinking` || Thought bubble animation plays for hedgehog (used for AI players) || |
|
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) || |
|
15 |
|| `gstWinner` || This is good for indicating hedgehogs they did well. Represented by a stupid grin. || |
|
16 |
|| `gstLoser` || This is good for indicating hedgehogs screwed up || |
|
584
9e5ad14e0afb
Some ad-hoc descriptions for some gear states. I hope they are not too wrong.
almikes@aol.com
parents:
429
diff
changeset
|
17 |
|| `gstMoving` || Gear is moving / in mid-air || |
783 | 18 |
|| `gstAttacked` || Set for hedgehogs after they have finished their attack (including all shots). Not used in infinite attack mode || |
19 |
|| `gstAttacking` || Used to indicate when a hedgehog is currently attacking (player holds down attack key). Also used for triggered mines || |
|
20 |
|| `gstCollision` || Used to indicate the gear has just collided with something. Used internally for many checks and stuff || |
|
21 |
|| `gstDrowning` || Gear is drowning || |
|
785 | 22 |
|| `gsttmpFlag` || Used for various purposes, its meaning depends on the gear type (see [GearTypes]) || |
784 | 23 |
|| `gstNoDamage` || Gear does not take damage from explosions and attacks like shoryuken and will not be pushed by them. For the invulnerability shield used by hedgehogs, use `SetEffect` || |
584
9e5ad14e0afb
Some ad-hoc descriptions for some gear states. I hope they are not too wrong.
almikes@aol.com
parents:
429
diff
changeset
|
24 |
|| `gstAnimation` || Hedgehog plays an animation || |
1233 | 25 |
|| `gstWait` || ??? || |
584
9e5ad14e0afb
Some ad-hoc descriptions for some gear states. I hope they are not too wrong.
almikes@aol.com
parents:
429
diff
changeset
|
26 |
|| `gstNotKickable` || Hedgehog can't be knocked away by various means (i.e. rope-knocking) || |
9e5ad14e0afb
Some ad-hoc descriptions for some gear states. I hope they are not too wrong.
almikes@aol.com
parents:
429
diff
changeset
|
27 |
|| `gstInvisible` || Gear is invisible || |
783 | 28 |
|| `gstSubmersible` || Gear can swim underwater || |
825 | 29 |
|| `gstFrozen` || Gear is frozen. This state is not for hedgehogs; for hedgehogs, use `SetEffect` and `GetEffect` with `effect=heFrozen` instead || |
783 | 30 |
|| `gstNoGravity` || If set, gear is not subject to gravity (does not work for all gears) || |
584
9e5ad14e0afb
Some ad-hoc descriptions for some gear states. I hope they are not too wrong.
almikes@aol.com
parents:
429
diff
changeset
|
31 |
|
1233 | 32 |
See https://hg.hedgewars.org/hedgewars/file/default/hedgewars/uConsts.pas#l195 for a current list. |