This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
can anyone tell me what is the diffrence between these triggers? and when should i use one over the other?? thanks
this is what the editor does with pick and for:
PlayerGroupLoopBegin(PlayerGroupAll()); while (!PlayerGroupLoopDone()) { PlayerGroupLoopStep(); } PlayerGroupLoopEnd(); auto38107D40_g = PlayerGroupAll(); auto38107D40_p = 1; while (auto38107D40_p <= PlayerGroupCount(auto38107D40_g)) { lv_untitledVariable001 = PlayerGroupPlayer(auto38107D40_g, auto38107D40_p); if (lv_untitledVariable001 == PlayerGroupPlayer(auto38107D40_g, auto38107D40_p)) { auto38107D40_p = auto38107D40_p + 1; } } return true;
use pick the other is pretty messy only use for or while if you have a loop in a loop
@b0ne123: Go
i cant really understand by the code but thanks for the info, i will use pick
Pick player is more efficient, because it uses built-in functionality. Unfortunately it does not work when you want to nest player loops. In this case you would have to use at least one for-loop.
can anyone tell me what is the diffrence between these triggers? and when should i use one over the other?? thanks
this is what the editor does with pick and for:
use pick the other is pretty messy
only use for or while if you have a loop in a loop
@b0ne123: Go
i cant really understand by the code but thanks for the info, i will use pick
Pick player is more efficient, because it uses built-in functionality. Unfortunately it does not work when you want to nest player loops. In this case you would have to use at least one for-loop.