Need desperate help with something

How would I make it so in players in slots 2 - 12 get damaged overtime, if an event (using ability 1) occurs?
Players in slot doesn’t seem to work for me, I put: deal damage over time players in slot (then created 11 actions with players in slot from 2 - 12 so 11 players were effected), but that didn’t work :frowning:

The players in slot action is meant to address only one player (or 2 if you set the team property to all). As slot-argument it takes exactly one integer between 0 and 11. So the correct usage of players in slot would be:

start damage over time(players in slot(0, team 1), null, 9999, 10)
start damage over time(players in slot(1, team 1), null, 9999, 10)
start damage over time(players in slot(2, team 1), null, 9999, 10)
...

But in your case you can do it easier with filtered array:

start damage over time(filtered array(all players(all teams), compare(current array element, !=, players in slot(0, team 1))), null, 9999, 10)
1 Like

Hi there, thanks for the reply.
It works great! :slight_smile:

1 Like