(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > World Editor Help Zone

World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README!

Reply
 
LinkBack Thread Tools Display Modes
Old 11-17-2008, 12:16 PM   #1 (permalink)
 
scorpion182's Avatar

It's Show Time!
 
Join Date: Jun 2008
Posts: 229

scorpion182 has little to show at this moment (34)scorpion182 has little to show at this moment (34)scorpion182 has little to show at this moment (34)scorpion182 has little to show at this moment (34)


How to detect an ability is cooldown

How to detect an ability is cooldown??
__________________
scorpion182 is offline   Reply With Quote
Old 11-17-2008, 01:27 PM   #2 (permalink)
 
Day-Elven's Avatar

User
 
Join Date: Apr 2008
Posts: 347

Day-Elven has little to show at this moment (39)Day-Elven has little to show at this moment (39)Day-Elven has little to show at this moment (39)Day-Elven has little to show at this moment (39)


There is no GUI function for it. Maybe it's jass boolean? Or it's undetectable. What for dp you need this?
Day-Elven is offline   Reply With Quote
Old 11-17-2008, 03:11 PM   #3 (permalink)

I'm right, you're wrong.
 
Join Date: Aug 2005
Posts: 2,538

Eleandor is just really nice (333)Eleandor is just really nice (333)Eleandor is just really nice (333)


In jass the returnvalue of IssueImmediateOrder (and other orders) return a boolean. I haven't tested it yet, but I guess it returns false if the unit doesn't have the ability or the ability is on cooldown?

A downside would be that if it's not on cooldown, the ability is then cast :p
__________________
Eleandor is offline   Reply With Quote
Old 11-17-2008, 03:19 PM   #4 (permalink)
 
UreDe4D's Avatar

valiant little mapper
 
Join Date: Nov 2006
Posts: 763

UreDe4D is on a distinguished road (76)UreDe4D is on a distinguished road (76)


depends on how many abilities you have, and if resets are possible, but you could start a timer every time the ability is cast and check if it reached 0 already
__________________
When I come back from the mighty quest
I have no need for sleep or rest
I head to a tavern for a drink
And get so drunk I cannot think
A wench by my side and a jug of mead
These are the things that I most need
So I sit back and sing this song
And drink and party all night long
UreDe4D is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] How to detect the ability being learned? MeEsA World Editor Help Zone 2 08-09-2008 02:46 PM
[JASS] Detect Level of Ability? PurgeandFire111 Triggers & Scripts 6 04-13-2007 12:12 AM
How do you make a passive ability cooldown Aoen Triggers & Scripts 5 11-16-2006 02:36 PM
[JASS] Ability cooldown Beier Triggers & Scripts 3 08-21-2006 01:41 PM
Detect an ability -=Emergenzy=- Map Development 4 04-21-2005 01:46 PM

All times are GMT. The time now is 05:17 AM.






Your link here 
Credit Cards | Debt Consolidation | TurboTax Software | Guitar Lesson | Find a Credit Card
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle