#function breaking

1 messages · Page 1 of 1 (latest)

shrewd tendon
#

code:VB function draw(l1: location, l2: location, c: color, p: player): set {_v} to vector between {_l1} and {_l2} set {_d} to distance between {_l1} and {_l2} loop ({_d} / 0.2) times: set vector length of {_v} to (loop-value * 0.2) draw 10 of dust using dustOption({_c}, 0.8) at {_l1} ~ {_v} with force loop all players in radius 1 of {_l1} ~ {_v}: set {pl} to loop-player

#

i then damage the loop player and no matter where they are, every player gets ddamaged.

vernal ridge
#

For sure, last loop is fishy...

#

What is this syntax? {a} ~ {b}

dusty mulch
#

Yeah u were getting help then just stopped talking there and made this.

vernal ridge
dusty mulch
#

cross posting def not liked round here

naive otter
#

also why the heck is pl not local