TriggerHappy
...
- Reaction score
- 341
I Don't understand why this is happening.
JASS:
//
method ShowDialog takes nothing returns nothing
local integer i = 0
call DialogSetMessage(this.Dialog, this.name)
loop
exitwhen i > 11
call DialogDisplay(Player(i), this.Dialog, true)
set i = i + 1
endloop
endmethod
function ShowDialog takes Dialog d returns nothing
call d.ShowDialog() // I get the error here ( (1) Is not a member of Dialog )
endfunction