PDA

View Full Version : dialogMessage definition incorrect on wiki



zuilin
October 13th, 2020, 15:54
dialogMessage help on the wiki (both the Classic dev guide https://www.fantasygrounds.com/refdoc/Interface.xcp#dialogMessage and the new FGU dev guide https://fantasygroundsunity.atlassian.net/wiki/spaces/FGU/pages/4096375/Interface#dialogMessage) both show the function as:


function dialogMessage([dialogtext], [title], [type])

It's been my experience that there is actually a missing parameter. It should be more like:


function dialogMessage(callback_function,[dialogtext], [title], [type])

Thanks.

Moon Wizard
October 13th, 2020, 17:55
I've updated the wiki for dialogMessage, dialogFileOpen, and dialogFileSave to denote differences between FGC and FGU.

Regards,
JPG

zuilin
October 13th, 2020, 17:58
I've updated the wiki for dialogMessage, dialogFileOpen, and dialogFileSave to denote differences between FGC and FGU.

Regards,
JPG

Awesome. Thanks.