Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[REQUEST] on screen "hot-swapping" or quickswapnig for weps

Weapon Quick-Swap
Description
Basically my game involves the character being able to switch between his gun and sword, However with the traditional way of doing this it can be very slow and tiresome. So what i really want is a way for my players to cycle through their weapons on map say via "Q" and "E" and be able to equip them without having to go through the hassle of press ESC, scrollnig, and all that stuff.
Other Scripts I am using
Mr.Mo's Neo abs (not lite version) and all the stuff that coems with it.
Sdk 1.1 and some random fullscreen script i have with no credits on it.

Hope someone helps

~cheers and thanks again,
1337
 

Jason

Awesome Bro

Correct me if I'm wrong, but couldn't this be done with an event ?

Code:
 

Conditional Branch = if L is pressed (Q on Keyboard)

   Conditional Branch = if [Weapon] is equipped (Sword)

      Change Equipment (Change it to your gun)

   else

      Conditional Branch = if [Weapon] is equipped (Gun)

         Change Equipment (Change it to your sword)

      else

      branch end

   branch end

else

   Conditional Branch = if R is pressed (E on Keyboard)

      Conditional Branch = if [Weapon] is equipped (Sword)

         Change Equipment (Change it to your gun)

      else

         Conditional Branch = if [Weapon] is equipped (Gun)

            Change Equipment (Change it to your sword)

         else

         branch end

      branch end

   else

   branch end

branch end

 
 
hmmmm i see, well im kinda new to this whole rpg maker stuff xD.

thank jbrist for telnig me that it makes it much easier although i do have 1 question, is it possible to cycle through weapons like this? (there are multiple guns to be used.)
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top