Jump to content

More advanced timer functions?


Dr_Jeep

Recommended Posts

Posted

Dear All,

 

could anyone help me how to set timer for for example 30 minutes to finish game, but after entering specific zone subtracting 10 minutes?

 

I plan to make cartridge concerned with change management.

 

Thanks in advance

 

Dr_Jeep

Posted

Urwigo, Earwigo, Kit, GS ? You can set the time "on the fly". In your case...if zone is entered, then timer.duration=timer.duration-600. The player enters the zone, before he has 25mins left, then he has 15.

But you better make a query before ... if timer.remaining > 900 then timer.duration=timer.duration-600 or much better variable, depending on how minutes are left.

Posted

Hi,

 

many thanks - I use Earwigo.

 

One more issue - how to put timer couting down time onto a display of GPS/smarphone?

 

Take Care

Andrzej

Posted

There are 2 ways for showing a countdown, via messageboxes or via item description. But : this doesn't work on all players, especially on buggy iphone player.

 

Have a look to the item "Timertests" at my cartridge

Wherigo Testsuite

 

Download the source file (GWZ), the urwigo source is inside.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...