09-21-2020, 04:04 AM
Hello, I have sprint event, Point - A = start pad , Point - B = finish pad
4 players gets unstoned while standing on point A , first player of thous 4 that steps on point B gets prize and triggers teleport for all thous 4 players out of event(including himself) Problem is i dont know how to do it. Can anyone please help me with this?
Have set point A uid on point B but it doesnt work.
4 players gets unstoned while standing on point A , first player of thous 4 that steps on point B gets prize and triggers teleport for all thous 4 players out of event(including himself) Problem is i dont know how to do it. Can anyone please help me with this?
PHP Code:
//Point A
//more = 4 amount of players
//more2 = 1 locked start
ON=@Step
more -= 1
if <more> < 1
more2 = 1
endif
src.go <morep>
src.stone 0
src.move 0,-<more>
tag.char_<dmore> = <src.uid>
return 1
//Point B
ON=@Step
for 4
ref2 = <uid.<ref1.tag0.start_pad>.tag0.char_<eval <local._for> +- 1>>
if <src.uid> != <ref2.uid>
ref2.go //XXXX,XXXX,XX
endif
endfor
endif
Have set point A uid on point B but it doesnt work.