HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

combining effects for s spell

03-11-2007, 04:52 AM#1
ZiegSlavric
i need to make a spell that turns on/off, increases attack speed and movement speed, increases damage, and drains mana. ive been fideling with the trigger editor trying to do it but i have no idea where to start. i guess i can make a trigger where when caster casts immolation it would add the effects i want and end when it is deactivated. i mean i wanna add the effects to the player and not the actual ability. only problem is im a noob with a little bit of experiance looking at samble spells other people made to get the basics of how to make a spell. also all the options in the trigger editor makes my head hurt. can anyone walk me through the process of making this spell or make one i can see in a demo map? that way i can just make it myself by looking at how you did yours.
03-11-2007, 05:52 AM#2
ZiegSlavric
i put add ability command aura and endurance aura, both do what i need it to do. now only problem is when i turn immolation off the effects of those still remain, im having trouble finding the abilty or whatever that turns immolation off. now i need it so that when i turn off immolation off the abilities go away too.
03-11-2007, 06:17 AM#3
Pyrogasm
Me, in your other thread.
03-11-2007, 07:05 AM#4
ZiegSlavric
ok that helps. also would there be anyway to add the skills effect rather than the actual skill? like it will recieve the added move/attack rate while not actually gaining the abilty of endurance aura.
03-11-2007, 07:10 AM#5
Pyrogasm
Quote:
Originally Posted by PM
Quote:
Originally Posted by ZiegSlavric
hey that was good but what if it is a custom skill would i use the same names, also is there any way to add an effect rather than the ability. like if i want the endurance auras effect on the hero so that he doesnt have the ability in his selection. i also cant find the order you put for ending immolation. unimmolation doesnt seem to be there.
ZiegSlavric-

For the "not showing up on the hero's command card" thing, do this:
  • Set up your aura spells that you need to add to the hero
  • Create a new spell based off of "spell book" (search in the object editor for it), and set the "shared cooldown" field to false; you don't need to change anything aesthetic
  • Add your aura spells to the spellbook in the Object Editor
  • Make a trigger that looks like this:
    Trigger:
    Collapse Events
    Map initilization
    Conditions
    Collapse Actions
    Collapse Player Group - Pick every player in (All players and do (Actions)
    Collapse Loop - Actions
    Player - Disable <Your New Spellbook> for (Picked Player)
    ----- If you repeat this process and need to disable more abilities, add them to this list -----
  • Then, to detect when a unit uses your immolation-based ability and do things accordingly, make a trigger like so:
    Trigger:
    Collapse Events
    Unit - A unit starts the effect of an ability
    Collapse Conditions
    Ability being cast equal to <Your Immolation-based ability>
    Collapse Actions
    Unit - Add <Your spellbook> to (Triggering Unit)
    Unit - Set level of (Your Aura based ability) to level of <Your Immolation-based ability> for (Triggering Unit)
    ----- Repeat the above action as necessary, or not at all, if the aura doesn't have multiple levels -----
  • To remove the abilities correctly, make a trigger such as this:
    Trigger:
    Collapse Events
    Unit - A unit is issued an order with no target
    Collapse Conditions
    (Issued order) Equal to (Order(unimmolation))
    Unit-type of (Triggering Unit) equal to <Unit-type of your unit that can cast this spell> [if there are more than one unit type, add an "Or" condition]
    Collapse Actions
    Unit - Remove <Your spellbook> from (Triggering Unit)
03-11-2007, 08:10 AM#6
ZiegSlavric
thanks you for helping me, +rep i think, not really sure if thats what you do.
03-11-2007, 08:11 AM#7
Pyrogasm
Yes, that is the ethical and scrupulous thing to do, as well as using correct grammar, punctuation, and appropriate abbreviation.
03-11-2007, 08:20 AM#8
blu_da_noob
Please remember to edit your posts instead of double posting and not post the same thing in multiple forums in future.
03-11-2007, 09:18 AM#9
ZiegSlavric
i put in the other one but someone told me to put it hear, im new. wont happen again though.
03-11-2007, 09:51 AM#10
Earth-Fury
11:41 PM: My post in your origional thread:
Quote:
... mess around in the trigger editor and try diffrent things. if you can't get it to work, go ask in the trigger forum for some help, and im sure someone (maybe even me!) will be willing to lend ya a hand ^^ ...

11:52 PM: the time this thread was made.

This indicates little effort on your part to try it for yourself, which is common when new to something like the World Editor. And the lack of common sense of not posting duplicate threads within 10 minutes of eachother is something also gained with time. Im not trying to insult you or anything, just pointing out that you should put some effort into remebering and learning this kinda stuff, instead of becoming annoying and banned like some new people. I hope and belive you can become a happy and productive member of this community ^^
03-11-2007, 10:13 AM#11
Pyrogasm
Well said, Earth-Fury. With luck, he'll gain a greater desire to search for and attempt things himself. And, at what point he does become stuck, he'll have at least tried.

Off topic: Earth-Fury, the word "useful" only has 1 "l" in it, not two. Your signature is incorrectly spelled
03-11-2007, 10:18 AM#12
Earth-Fury
Quote:
Originally Posted by Pyrogasm
Well said, Earth-Fury. With luck, he'll gain a greater desire to search for and attempt things himself. And, at what point he does become stuck, he'll have at least tried.

Off topic: Earth-Fury, the word "useful" only has 1 "l" in it, not two. Your signature is incorrectly spelled

No more offtopicness after this, but i must comment: I keep trying to give you rep and it never lets me!!! xD need to spread more love around. And my spedelling sucks, obviously. Altho since i joined, the ammount of typos i make is waaaayyy down. im embarassed at some of my oldest posts still around, lol.

And also, PM me any threads ya think would be nice to link to ;) some day ill make a giant FAQ...

now ill stop being bad and off-topic. Learn to not be like me, kids!
03-11-2007, 10:28 AM#13
Pyrogasm
Well, I must become a conceited bastard and link those posts of me editing a perfectly good-looking script.

Number 1
Number 2

Darkwulfv, Wyrmlord, and Moyack's Collective Guide to Beginner JASS (Which I found rather useful.

In fact, if you just linked the tutorials section, that would be a good help...

EDIT: Oh, and here's a link to an in-depth analysis of handles, but from a beginner's perspective.

And here's a link to the Search Feature. That's definitely going in my signature.