A_GiveWeapon

From SRB2 Wiki
Jump to: navigation, 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
AUTOIND.png
2 RW_BOUNCE Bounce Ring Panel
BNCEIND.png
4 RW_SCATTER Scatter Ring Panel
SCATIND.png
8 RW_GRENADE Grenade Ring Panel
GRENIND.png
16 RW_EXPLODE Explosion Ring Panel
BOMBIND.png
32 RW_RAIL Rail Ring Panel
RAILIND.png

  Actions – Powers and monitors [view]
A_1upThinkerA_AwardScoreA_BombShieldA_CustomPowerA_EggmanBoxA_ExtraLifeA_ForceShieldA_GiveWeaponA_GravityBoxA_InvincibilityA_JumpShieldA_MixUpA_MonitorPopA_PityShieldA_RecyclePowersA_RingBoxA_RingShieldA_SuperSneakersA_WaterShield