- Joined
- Oct 11, 2012
- Messages
- 711
Hey guys. Can I use "DialogAddButton" instead of "DialogAddButtonBJ"?
Based on the above, if I don't need to use "bj_lastCreatedButton", I can pretty much substitute "DialobAddButtonBJ" with "DialogAddButton",right? I suppose I can declare a button variable myself if needed.
Thanks all.
JASS:
function DialogAddButtonBJ takes dialog whichDialog, string buttonText returns button
set bj_lastCreatedButton = DialogAddButton(whichDialog, buttonText,0)
return bj_lastCreatedButton
endfunction
Based on the above, if I don't need to use "bj_lastCreatedButton", I can pretty much substitute "DialobAddButtonBJ" with "DialogAddButton",right? I suppose I can declare a button variable myself if needed.
Thanks all.