Uncle
Warcraft Moderator
- Joined
- Aug 10, 2018
- Messages
- 7,866
So the issue is weird. This code works as it should:
It creates the Dialog and everything works fine.
However, the problem occurs when trying to run the Test() function inside of another function. It simply doesn't work.
^ This doesn't work for whatever reason.
Any ideas?
Lua:
function Test()
DialogTest = DialogCreate()
DialogAddButtonBJ(DialogTest, "TEST")
DialogDisplayBJ(true, DialogTest, Player(0))
end
However, the problem occurs when trying to run the Test() function inside of another function. It simply doesn't work.
Lua:
function AnotherFunction()
Test()
end
Any ideas?
Last edited: