I was just wondering if anyone knew how i could add seconds to THIS script, i didn't want to necro an old thread so i hope its fine that i posted this here xD
I'm referring to the script in the 5th post by '3devils'
Sorry for being a noob ':|
Dec 21 '11 at 06:20 AM
Dec 21 '11 at 01:38 AM
I'm not sure I understand what you're asking here. That script already has seconds in it!
sorry for slow reply, i meant add seconds to the countdown. so if its at 20 seconds left and you activate a special item or go through a ring it will add 5 or so seconds to the countdown making it 25 seconds left.
That script apparently already has the addSeconds function added too. I think all you need to do is set the fl_time_extra variable to the desired value and then call the addSeconds function..
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Dec 21 '11 at 06:20 AM
Seen: 1095 times
Last Updated: Dec 23 '11 at 08:09 PM
Help with Invisibility script.
Help with Generating Random Tiles
Help with the update function and rigidbodys
Open door on input key
Countdown code not working
please help island demo compieler error
Perform Action on frame/time of animation
I really need som' good help from a pro :|
I need help scripting a melee attack
Sidescroller Character Movement Script