staind25
TH.net Regular
- Reaction score
- 7
This system was recommended to me and it's great, but I don't know JASS, so I'm struggling to get it working.
I have it implemented and everything, but I'm not sure what I need to do from here. In the comments, the author says I can use:
//* set t=NewTimer() : Get a timer (alternative to CreateTimer)
//* ReleaseTimer(t) : Relese a timer (alt to DestroyTimer)
I want to use both of these. Here's what I put in my trigger:
What am I missing? I added the 'call' to ReleaseTimer because I got a syntax error there. Now I'm getting an "undeclared variable t" error. I would've figured t would've been declared somewhere in the code for the system. What do I need to do to fix this?
Please don't skip any steps in your explanation...like I say, I don't know JASS, so I don't really know what to "assume" and what not to assume.
Thanks!
I have it implemented and everything, but I'm not sure what I need to do from here. In the comments, the author says I can use:
//* set t=NewTimer() : Get a timer (alternative to CreateTimer)
//* ReleaseTimer(t) : Relese a timer (alt to DestroyTimer)
I want to use both of these. Here's what I put in my trigger:
Trigger:
- Then - Actions
- Custom script: call ReleaseTimer(t)
- Custom script: set t=NewTimer()
What am I missing? I added the 'call' to ReleaseTimer because I got a syntax error there. Now I'm getting an "undeclared variable t" error. I would've figured t would've been declared somewhere in the code for the system. What do I need to do to fix this?
Please don't skip any steps in your explanation...like I say, I don't know JASS, so I don't really know what to "assume" and what not to assume.
Thanks!