A_GiveWeapon
Jump to navigation
Jump to search
A_GiveWeapon is an action that gives the target player one or more weapon panels and plays the actor's SeeSound
. Var1 determines the weapon flag number according to the list below. The flag values can be combined to give the player multiple weapon panels at once. Note that this action only gives the ability to use the weapons; it does not supply the ammo for them.
Var1 | Flag name | Weapon panel | Icon |
---|---|---|---|
1 | RW_AUTO
|
Automatic Ring Panel | |
2 | RW_BOUNCE
|
Bounce Ring Panel | |
4 | RW_SCATTER
|
Scatter Ring Panel | |
8 | RW_GRENADE
|
Grenade Ring Panel | |
16 | RW_EXPLODE
|
Explosion Ring Panel | |
32 | RW_RAIL
|
Rail Ring Panel |
|
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 |