| 12-18-2008, 07:54 PM | #1 |
What TriggerWaitOnSleeps do ? I found this post. http://www.wc3campaigns.net/showpost...3&postcount=10 The others posts are old and don't anwser at all. But when i edit the line wich call TriggerWaitOnSleeps, i see no difference if the argument of the function is true or false. Could someone explain me plz ? |
| 12-19-2008, 05:08 AM | #2 |
Your link leads to something completely irrelevent to what you're asking, did you miscopy the url? |
| 12-19-2008, 10:23 AM | #3 | |
Quote:
This is the only link where the function TriggerWaitOnSleeps is used, but i had forgotten to said the function ForPool use it,thought. |
| 12-27-2008, 06:15 AM | #4 |
| 12-28-2008, 11:14 PM | #5 |
But it doesn't give the usage. Well let's use them for a fast way to link a boolean with a trigger :p |
| 12-29-2008, 06:49 AM | #6 | |
Yes, it does explain the usage: Quote:
JASS:function Waitlol takes nothing returns nothing call TriggerSleepAction(2.00) call BJDebugMsg("OMG") endfunction JASS:function Waitlol takes nothing returns nothing call TriggerWaitOnSleeps(GetTriggeringTrigger(), false) call TriggerSleepAction(2.00) call BJDebugMsg("OMG") endfunction |
| 12-29-2008, 09:51 AM | #7 |
As i said the threads i've found said nothing or WRONG things about these functions, just test this nice theory. |
