Shooter adjustable damage

Sam Leitch 4 months ago in Shooter updated by Marti (Lead Developer) 4 months ago 1


I am wanting to do different damages per weapon, once again RVRs videos have been spectacular. 

Currently using his variable damage technique. Having a lot of success.

The issue im having is these actions only apply to the weapon picked up in scene where i can apply them.

Is there a way to utilise these actions on weapons brought at a merchant, pre existing container and enemy drops?

These options all come directly from the item list in Game Creator. Can i add these in the back end somewhere to make them effect all guns?

Any help would be much appreciated

If there is an easier way to apply different damage per gun i would love to know it!

Unity version:
Game Creator version:

Both sound plausible. I appreciate it!

Satisfaction mark by Sam Leitch 4 months ago

There are different ways to approach this. You could have a bunch of Global Variables with each weapon's damage and use that as a look-up table when damaging the enemy.

Another way would be adding a Local Variable, let's call it "weapon-damage" on each character, including the player. In each of your item's On Equip actions, you can access the Invoker and set, per weapon, how much damage this weapon will apply.

Hope this gives you an idea. I particularly prefer the second approach.