Thread
:
[Classic] GetNumFactions() not getting past index 1
View Single Post
10-16-19, 03:49 AM
#
11
Urtgard
A Fallenroot Satyr
Join Date: Apr 2016
Posts: 25
break stops the loop.
You stop the loop if id ~= factionID but you want to stop it when you found the correct id.
Lua Code:
if
id
==
factionID
then
--do stuff with id
break
end
Urtgard
View Public Profile
Send a private message to Urtgard
Find More Posts by Urtgard