Results 1 to 3 of 3

Thread: Timing

  1. #1
    Join Date
    Apr 2007
    Location
    Colchester, UK
    Posts
    1,220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Timing

    Hi,

    i am trying to make a script change characters every x amount of minutes to do this i though that
    Simba Code:
    if (TimeFromMark(Time)>=(Players[CurrentPlayer].Integers[2]*60000)) then
    would be good

    Time will be started when player is logged in and Integers[2] will be how many minutes to run for.

    is this correct or have i messed it up?

    as my script is running for longer than its suppose to and not switching (according to TimeRunning in SRLProgressReport)
    Last edited by Bobzilla69; 11-30-2010 at 04:39 PM.

  2. #2
    Join Date
    Jun 2007
    Location
    La Mirada, CA
    Posts
    2,484
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    You are doing 'MarkTime(Time)', right? And have it in the correct spot in your loop, so that is doesn't get reset during every iteration of the loop...

    I don't see anything wrong with it.

    "Failure is the opportunity to begin again more intelligently" (Henry Ford)


  3. #3
    Join Date
    Apr 2007
    Location
    Colchester, UK
    Posts
    1,220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes i do, but it seems to take longer to increase than TimeRunning in SRLProgressReport, so in my report it will say the scripts been running for 15 minutes but its suppose to change every 5 minutes

    edit: script here
    Last edited by Bobzilla69; 11-30-2010 at 04:55 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •