1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.36 Bug Reporting thread
    Solutions and more information may already be available.

What do I have to add ?

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by schumacher, Mar 24, 2016.

  1. schumacher

    schumacher
    Expand Collapse

    Joined:
    Sep 1, 2013
    Messages:
    1,054
    I wanted to make my scenario in time so that you have to beat a time or you have failed , I cant find any scenario at the Moment with this time limiter , so what lines do I have to add in .prefab that I can Set the maximum time to maybe 2:30 min.? Thx for replies.
     
  2. NistingurA

    NistingurA
    Expand Collapse

    Joined:
    Nov 22, 2013
    Messages:
    2,100
    Try to copy a few lines of code from the moose test. The is an 8 second timer. Maybe change some numbers and it will work in your favor
     
  3. FalloutNode

    FalloutNode
    Expand Collapse

    Joined:
    Dec 21, 2015
    Messages:
    462
    1:30 Extreme mode 2:00 Hard mode 2:30 Medium mode 3:00 Easy mode 3:30 Peaceful mode.
     
  4. schumacher

    schumacher
    Expand Collapse

    Joined:
    Sep 1, 2013
    Messages:
    1,054
    I Took a look at it but it is Set in the .lua of the scenario , when I copy that lua nothing happens, is there another way to Set a time Limit for a scenario ? @Nadeox1
     
  5. Scepheo

    Scepheo
    Expand Collapse

    Joined:
    Feb 10, 2015
    Messages:
    601
    Currently the only way is by using a Lua script that tracks the time. And no, plain copying the other script won't work, you'll have to rename it to match your scenario name and adjust its code to fit your needs. Look up some Lua tutorials and try to understand how the code works, it's not very complicated.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice