Custom Gun Game Script

So I had copied the gun game script to make a custom version for my friends and I, to replicate how we played before Blizzard introduced “Gauntlet.”

I learned how to correctly adjust my ladder with Variable A to have the heroes in the order I wanted. But I wanted to add a few more codes that I just can’t seem to figure out. I played with a few settings and just can’t seem to wrap my head around it. Below are a few rules we played in our own version, that I would like to figure how to add.

1.) When a player is killed by the same hero, they are you go back one hero.
Meaning, if I start as D.Va, and move to our second hero on our list, Orisa, if I am eliminated by another Orisa, I am sent back to D.Va. I experiemented with a few options, at most I was able to send ourselves back at every death, without this condition. I thought it would be easy as putting it as “If Variable value A is for both players is the same, victim goes back, while attacker moves forward” but I can’t figure it out.

2.) When a player is killed by someone while their ultimate is active, the victim is to be sent back. If a player dies while their ult is active, they are to be sent back
This is a two part thing. The attacker’s ult being active, sends the player back one slot. If the victim used their ultimate, they are to be sent back one slot. I can’t figure out who Event Player would be during this rule, or how to set up the condition correctly.

My main priority is adding our first rule, rather than the second. (Which I thought was going to be the easier one to add, but I can’t seem to find any code that has when an ultimate is active?)

Thank you in advance for reading this all/

1 Like

hi how you doing.?!?

Good. Just trying to figure this issue is all.

As of now, I just have the “9655A” Code, reordered, locked to start with D.VA rather than Ana.