A_GiveShield
Appearance
A_GiveShield is an action that gives the target player an shield, which is specified by Var1. Spawning the shield around them and playing the actor's SeeSound. Any other shield the player might wear is replaced with the specified shield.
The values for the shields are as follows:
| Decimal | Hexadecimal | Name | Description |
|---|---|---|---|
| 0 | 0x0000
|
SH_NONE
|
No shield. |
| 1 | 0x0001
|
SH_PITY
|
Pity Shield |
| 2 | 0x0002
|
SH_WHIRLWIND
|
Whirlwind Shield |
| 3 | 0x0003
|
SH_ARMAGEDDON
|
Armageddon Shield |
| 4 | 0x0004
|
SH_PINK
|
Pink version of Pity Shield granted from Amy's ability. |
| 3073 | 0x0C01
|
SH_ELEMENTAL
|
Elemental Shield. Equivalent to combining SH_PITY|SH_PROTECTFIRE|SH_PROTECTWATER.
|
| 4097 | 0x1001
|
SH_ATTRACT
|
Attraction Shield. Equivalent to combining SH_PITY|SH_PROTECTELECTRIC.
|
| 1025 | 0x0401
|
SH_FLAMEAURA
|
S3K Flame Shield. Equivalent to combining SH_PITY|SH_PROTECTFIRE.
|
| 2049 | 0x0801
|
SH_BUBBLEWRAP
|
S3K Bubble Shield. Equivalent to combining SH_PITY|SH_PROTECTWATER.
|
| 4098 | 0x1002
|
SH_THUNDERCOIN
|
S3K Lightning Shield. Equivalent to combining SH_WHIRLWIND|SH_PROTECTELECTRIC.
|
| 256 | 0x0100
|
SH_FORCE
|
Force Shield flag. On its own this flag only gives one health point to the shield – the lower 8 bits can be used as extra health points, e.g. SH_FORCE|1 gives a force shield with 2 health points. Note: This cannot be combined with any of the values SH_PITY to SH_PINK.
|
| |||||
| Actions – Powers and monitors | [view] | |
| A_1upThinker • A_AwardScore • A_BombShield • A_CustomPower • A_EggmanBox • A_ExtraLife • A_GiveShield • A_ForceShield • A_GiveWeapon • A_GravityBox • A_Invincibility • A_JumpShield • A_MixUp • A_MonitorPop • A_PityShield • A_RecyclePowers • A_RingBox • A_RingShield • A_SuperSneakers • A_WaterShield | ||