Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: millo666
Forum: Lua/XML Help 06-17-20, 11:49 AM
Replies: 9
Views: 2,455
Posted By millo666
Yeah i missed to copy that end-statement, i had...

Yeah i missed to copy that end-statement, i had it. I have the locals above, but forgot to dump the code. I had a lot of comments in the code and did'nt want to share that, and missed the end and the...
Forum: Lua/XML Help 06-17-20, 11:30 AM
Replies: 9
Views: 2,455
Posted By millo666
This is very interersting. MAybe you knew this,...

This is very interersting. MAybe you knew this, but i did'nt. When i land, flying with the flight master the pet GUID changes like this:

petGUID from start: 1801D465A0

When landing at flight...
Forum: Lua/XML Help 06-17-20, 11:24 AM
Replies: 9
Views: 2,455
Posted By millo666
I could just extract "pet" from the GUID and...

I could just extract "pet" from the GUID and check that and it will solve the problem. This is happening when i am flying with a mount from flight master. As soon as i land it will write the code...
Forum: Lua/XML Help 06-17-20, 11:18 AM
Replies: 9
Views: 2,455
Posted By millo666
local function DummyFrame_OnEvent(self, event,...

local function DummyFrame_OnEvent(self, event, ...)


if event == "PLAYER_ENTERING_WORLD" then

playerGUID = UnitGUID("player")
if UnitGUID("pet") ~= nil then
petGUID =...
Forum: Lua/XML Help 06-17-20, 11:14 AM
Replies: 9
Views: 2,455
Posted By millo666
Ah. You are right. I thought the petGUID was...

Ah. You are right. I thought the petGUID was unique, and didn't change. I havent changed pet, it's the same all the time, but still it gives it new GUID during a session. Is that normal?
Forum: Lua/XML Help 06-17-20, 11:10 AM
Replies: 9
Views: 2,455
Posted By millo666
It is checked immediately above, and it's the...

It is checked immediately above, and it's the same GUID as read from the beginning in PLAYER_ENTERING_WORLD. So you can't see any problem with the logic then?
Forum: Lua/XML Help 06-17-20, 10:49 AM
Replies: 9
Views: 2,455
Posted By millo666
Lua logic question

I come from C++ and have coded in that language for a long time. I have a question about a simple if-statement that just won't work.

The variables petGUID and playerGUID exists. The sourceGUID and...
Showing results 1 to 7 of 7