A_GiveWeapon

From SRB2 Wiki
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_1upThinkerA_AwardScoreA_BombShieldA_CustomPowerA_EggmanBoxA_ExtraLifeA_GiveShieldA_ForceShieldA_GiveWeaponA_GravityBoxA_InvincibilityA_JumpShieldA_MixUpA_MonitorPopA_PityShieldA_RecyclePowersA_RingBoxA_RingShieldA_SuperSneakersA_WaterShield