wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > Triggers & Scripts
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 05-21-2009, 12:59 AM   #1
Fluff
or your money back!
 
Fluff's Avatar
 
Join Date: Aug 2004
Posts: 541

Submissions (1)

Fluff will become famous soon enough (64)Fluff will become famous soon enough (64)Fluff will become famous soon enough (64)

Default Time left on timer

Is it possible to make a condition in JASS or GUI that checks to see how much time is left on a timer? I want to make a trigger that does something if a timer has more than 5 minutes remaining and something else if not.
Fluff is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 05-21-2009, 01:38 AM   #2
Sunwarrior25
I say!
 
Sunwarrior25's Avatar
 
Join Date: Jul 2007
Posts: 366

Submissions (3)

Sunwarrior25 will become famous soon enough (30)Sunwarrior25 will become famous soon enough (30)

Send a message via Yahoo to Sunwarrior25
Default

Yup, in GUI it'd be a Real Comparison.
Trigger:
Your GUI trigger
Collapse Events
Time - Every x seconds of game time
Collapse Conditions
(Life of (Triggering unit)) Greater than or equal to 10.00
(Remaining time for (Last started timer)) Less than or equal to 300.00
Collapse Actions
-------- stuff --------
I'm assuming there's a similar (and better) comparison in Jass.
Anywho, g'luck!
__________________
Table:
Currently:
- Fooling around with various things.
- Staying up WAY too late.
- Fooling around with various things.
Other places to find me:
YouTube
deviantART
Twitter
uStream
Sunwarrior25 is offline   Reply With Quote
Old 05-21-2009, 03:46 AM   #3
Fluff
or your money back!
 
Fluff's Avatar
 
Join Date: Aug 2004
Posts: 541

Submissions (1)

Fluff will become famous soon enough (64)Fluff will become famous soon enough (64)Fluff will become famous soon enough (64)

Default

Oh thanks! I didn't see that the first time I looked in Real Comparisons.
Fluff is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 01:45 PM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2019, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services