Page 1 of 1

Popups

Posted: Mon Sep 27, 2010 3:38 pm
by jangoisbaddest
I've been trying to get popups to work, but it seems I haven't found the right function for it. ShowPopup never works, because I get the following error:

Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(2264)
ShowPopup() has been depricated. Please remove all references to it in code

ShowObjectiveTextPopup is the only one that works reliably, but that has the -New Objective- title on the top of the screen, which I don't want for dialog and such. Could someone who has successfully implemented the popups in their campaign maps spill the beans for me?

On a more general note (and I don't mean to be a dick about this), it would be nice if there was some sort of resource that told us what kinds of parameters all the functions that are listed in the FAQ section need. When I start messing around with turning off player input and camera locations and such, it would be nice to not have to bug you all for a bunch of tutorials on these functions. xD

Re: Popups

Posted: Mon Sep 27, 2010 3:52 pm
by Xavious
I'm pretty sure you can change the -New Objective- text from the editlocalize tool (game->popup->objectiveTitle).

Re: Popups

Posted: Tue Sep 28, 2010 1:02 pm
by jangoisbaddest
Xavious wrote:I'm pretty sure you can change the -New Objective- text from the editlocalize tool (game->popup->objectiveTitle).
Didn't realize. Thanks for the tip!