Popups

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

Popups

Post 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
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Popups

Post by Xavious »

I'm pretty sure you can change the -New Objective- text from the editlocalize tool (game->popup->objectiveTitle).
User avatar
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

Re: Popups

Post 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!
Post Reply