| 08-16-2008, 05:46 AM | #1 |
I'm planning on putting at least 3 spells into the Spell Olympics; all of which would likely require Timer attaching. Now, I know for a fact I'd probably get my coding score shat all over if I dared used Handle Vars (the only attaching system I've ever used and never had problems with, despite all the hype about it being so deadly). So, in foresight, I'd like to use something else. But with about 2000+ timer/attachment systems on the market right now, I have no freaking idea what to use. (I mean in the past 2 weeks like 5 different timer systems have been put out; I'm sure you can see what I mean) I don't want to use anything huge, because those are a pain to have to carry around for spells. I only need it for very minor attaching; like structs or the occasional handle for whatever reason. Thus, I'd like the system(s) offered to be small and lightweight. All they need to do is attach a handle or an integer to a timer, and that's it. No fluff, no fancy features like being able to end world hunger. Thanks for the help, it's appreciated. |
| 08-16-2008, 05:53 AM | #2 |
Everyone will advertise their own work because they're always the most comfortable with what they themselves made. However, let me recommend that you look through the code of the scripts and determine which application and execution you like the most. Basically, which calling methods make the most sense to you, which could you most easily follow and remember, and so forth. The reason so many exist is because everyone likes something different, just pick the one that's right for you. |
| 08-16-2008, 06:06 AM | #3 |
Yeah, I forgot that would happen. heh... Well, I'll go take a look. All this massive vJASS code and stuff kind of frightens me to look through, which is why I was going to take the lazy route and ask for help =P. Off in search of a system. EDIT: I grabbed the first one I saw; TimerUtils. It's lightweight and does just what I need with ease. (SetTimerData(t, 2) is so clean :D) Guess that wasn't so hard after all. Hm. |
| 08-16-2008, 06:27 AM | #4 |
I'll fulfill Rising Dusk's prophecy and recommend decal. I'm putting it to good use in my spells. It technically doesn't attach data to timers, it just provides timer functionality through a function with an integer argument it spits back out when the call is made. |
| 08-16-2008, 06:35 AM | #5 |
Considering I have no idea what decal is, and that your description tells me nothing about it really, I'll have to pass. I'm already using TimerUtils well anyways. It does its job and is easy to use/remember. |
| 08-16-2008, 06:37 AM | #6 |
| 08-16-2008, 07:40 AM | #7 |
Familiar now that I see it, yes, but it's not what I'd want anyways, hence why it didn't come to mind. |
