Timer Isn't Showing

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)

Timer Isn't Showing

Post by Fierfek »

I have a timer in my map, but it isn' showing. It works, but it isn't visible. I checked the scripting doc, but couldn't find anything (I did ctl+f for 'show').
Does anyone know the script line for making a timer visible?
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: Timer Isn't Showing

Post by bobfinkl »

This is the code, and timeoutTimer would just be replaced by whatever you called your timer:

Code: Select all

ShowTimer(timeoutTimer)
And before you ask where it's supposed to go it should go above StartTimer.
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: Timer Isn't Showing

Post by Fierfek »

Do I put my timer's name in quotes?
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Timer Isn't Showing

Post by Frisbeetarian »

Frisbeetarian wrote:the best thing to do is just look at the campaign scripts and see how they are set up
Not only could you have done that, you could have paid closer attention to what I posted in your other topic about timers, which answers both your first post here and your second post. bobfinkl quoted code from the Hoth Lua script, just like I did, and if you looked there, you would know if you needed quotes.
Frisbeetarian wrote:timeoutTimer is the variable name of the timer object, "timeout" is the name assigned to this object. From there on out, they can refer to the timer as either timeoutTimer (without quotes) or "timeout" (with the quotes); they mean the same thing
These rules still apply.
Post Reply