| 09-18-2007, 09:16 AM | #1 | |
Quote:
That's what I want, but unfortunately, I have absolutely no idea how to do it. Spike Traps may be activated individually via a button on each trap, or activated in unison from the hero. Spikes dart up and down when activated, repeatedly impaling the enemy, and though it says "per second", I'd really prefer to have it be per 0.2 seconds or whatnot for realism. I've been stuck with this for almost an hour, help would be appreciated. If possible, could somebody make the whole spell for me? It'd save me the trouble of trying to understand other people's explanations in text, which I do horribly since my trigger knowledge isn't all that great. Credit will be given of course if somebody does make the spell. |
| 09-18-2007, 09:55 AM | #2 |
you could try something like this event unit comes within x of spike trap actions order spike trap to cast activate the activate spell casting time would be the time it is visable before it attacks PS: dont ask ppl to "just make the whole spell for me" |
| 09-18-2007, 10:55 AM | #3 |
Uh... I don't think you get what I mean. I don't want a trap that activates when units get near, I want a trap that you have to activate manually. As for the "make the spell" part... well, you could just give me an example of the trigger, but I can't be sure that I'll get it, and that means more trouble. I don't know, maybe somebody could think of this as a challenge? Not that this is a challenging spell for good triggerers. I would look at the code to try to understand it, I just have no idea how to start right now. |
| 09-18-2007, 11:10 AM | #4 |
If you can't even try to think of what to do for one of the simplest of spells, how will you finish a map? |
| 09-18-2007, 11:30 AM | #5 |
Sorry. The description of the spell seems to be out of date... Updating it in a second. |
| 09-18-2007, 11:32 AM | #6 |
then just change the casting time to 1 second problem solved |
| 09-18-2007, 11:41 AM | #7 |
I don't think anybody understands what I'm trying to do here. The spell I'm trying to make is like this: You can set traps, not just one, but three, each covering an area of 150. The traps cannot overlap however, they have to be set 200 units away from each other, or any other enemy unit/structure. The hero has an ability that when pressed, activates all of the current traps in game, causing them (after the 1 second revealing time) to deal damage per second to all units in their 150 radius for 3 seconds, and then to disappear. The traps can also be activated individually, by using the ability each trap has on it. |
| 09-18-2007, 11:45 AM | #8 |
Have you ever even used your brain since you posted this topic? If you don't know how to trigger, then learn how to, just as simple as that. Learn to walk before you run. |
| 09-18-2007, 11:57 AM | #9 |
Oh, so is this the way you treat everybody who asks a question? "Find out for yourself idiot." Sure, I'm stupid, I don't know, so teach me. I did, and am still working on figuring this out myself - but is asking a question a crime? I was as polite as possible in my post, I don't know how I offended you. |
| 09-18-2007, 12:31 PM | #10 | |
I didn't get offended, nor did I even tried to offend you. Quote:
No. You also should know, think before you do ask. Your trying to bite off more than you can chew. I am going to tell you how to do it, but I won't tell you anything else. Make two dummy "detonate" abilities, one for each trap and one for the hero which sets off all the traps. Give them the abilities using object editor then make a trigger with an event like "Unit starts casting an ability" Use the "Spell being cast equal to <YourDummySpell>" condition, then do your desired actions. |
| 09-18-2007, 06:44 PM | #11 |
or make the detonate ability have a 1 second cast time as I said awile ago :/ sry I wasnt clear I guess @Toink why do it a simple way when you can give him a pathing detect engine as well as a timer function system, handlevars and cscache for good measure :P EDIT: and keep at it after a little bit it all falls into place ^.^ |
| 09-19-2007, 05:22 AM | #12 |
If you really can't figure it out, you can request it in the thread linked in my signature. I'll merge your original post into the end of the thread since it is, as of now, closed. |
| 09-19-2007, 08:59 AM | #13 |
I'll make another attempt first I guess, though not today. Strictly speaking, I'm not allowed to use the computer on weekdays. |
| 09-21-2007, 02:04 AM | #14 |
In case they weren't clear, here's what you're going to do:
|
