Projectile Selection LR platormer

TheRetroBro

Active member
Looking for some guidance on how to start writing the code to select which projectile my player shoots.

Currently I fire my default projectile object #1 but can pickup supper ammo (object 3)

I want to be able to swap between the 2 this way its not automatically defaulting to fire Object 3 when picked up.

I have no coding experience but understand the very basics from watching tutorial videos (pretty much figured out how to pickup super amm0 by creating a pickup script)

So far I have imported the input script from the adventure module to pickup swap weapons. My ideal goal is to be able to store my super ammo and cycle between it and the refular ammo using the select button.
 
Top Bottom