#issue with aoe damage

1 messages · Page 1 of 1 (latest)

buoyant seal
#

Heya, when i run this it says that i need to specify which loop. Any way i can check for every single player thats looped?loop all players in radius 50 of last spawned skeleton: if location of loop-player is between {_stableloc}'s x-coordinate + 2 and {_victim}'s x-coordinate - 2: damage loop-player by 10

#

formats a bit scuffed had to re-do it in discord

#

its not a formatting issue dw

static loom
#

if you have an error that says you need to specify a loop, thats likely because you have nested loops.
ie, loop 1: loop 2:

#

you have to specify which you're getting a loop-value from

#

also, location of loop-player is between {_stableloc}'s x-coordinate + 2 and {_victim}'s x-coordinate - 2 wont work.
you are checking if a location is between 2 numbers.
you need to check if a location is within 2 locations (creating a cubiod)
or you need to use loop-player's x-coordinate

buoyant seal
buoyant seal
#

I just gave up, couldnt figure out how to do it dynamically

placid sigil
buoyant seal