guild member inzone, not offline and not ME search
Having some issues getting this to make it to the last line without ME being the "memberName". Any suggestions would be appreciated. Its a bit messy with different things ive tried commented out.
Code:
for iG = 1, GetNumGuilds() do |
for memberIndex = 1, GetPlayerGuildMemberIndex(guildId) do
makes no sense as GetPlayerGuildMemberIndex(guildId) will always return your own player's memberIndex in that guild. So this will always be YOU (ME). -> "Player" = always YOUR currently logged in character (or account). If you want to loop the guildIds members and check it's NOT you just use GetPlayerGuildMemberIndex(guildId) once to get your own index and exclude it from the loop then, and for all other entries found do check the zones. Untested! Lua Code:
|
OMG ty! That did the trick.. I have trouble with the "for this and that do" lines. And ty I didn't realize that line was getting MY index. My source didn't indicate that specifically
|
All times are GMT -6. The time now is 10:12 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI