Objective Popup Script

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
Fierfek
High General
High General
Posts: 805
Joined: Wed Jul 01, 2009 4:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)

Objective Popup Script

Post by Fierfek »

What is the script to show an objective popup thing? I don't want it to be related to anything, I just want the popup to show with whatever text I want in it.
Basically, the simplest way possible to show the next objective with a popup thingy (like in the campaign maps).
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Objective Popup Script

Post by Xavious »

Why don't you just open up a shipped campaign script and look at that?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Objective Popup Script

Post by Maveritchell »

What Xavious said - you are asking a lot of questions re: scripting, and most of these can be answered if you just look at stock campaign scripts (or examples here on GT). If you're trying to script this much when you are clearly new to the game, you're probably jumping in over your head. I would advise you to take it a lot slower than you are now and try some simple objectives, learn how lua scripting works, and then work off from what you're learning. Right now you're basically using about half a dozen topics to get people to do your scripting for you.
User avatar
Fierfek
High General
High General
Posts: 805
Joined: Wed Jul 01, 2009 4:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)

Re: Objective Popup Script

Post by Fierfek »

So I add this in?
Hidden/Spoiler:
Objective1 = ObjectiveConquest:New
textATT = "level.RC1.objectives.timer",
popupText = "level.RC1.objectives.timer",
timeLimit = 360
Post Reply