HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Storm Bolt with Triggers

10-27-2003, 10:24 PM#1
Voi
:bgrun: Im trying to make a storm bolt, but when the hero cast the storm bolt I want him to move to a "secret" position and die. I can't get it work, I've tried following:

First try:
E - "The Hero" is issued an order targeting a point
C - (issued order) equal to thunderbolt
A - Move "The Hero" instantly to "The Rect (Region)"
A - Kill "The Hero"

Second try:
E - "The Hero" begins casting an ability
C - Ability being casted equal to "The Ability"
A - Move "The Hero" instantly to "The Rect (Region)"
A - Kill "The Hero"
10-27-2003, 10:30 PM#2
Supra God CrK
in the second one what is "the abilty" did you actually put the name of the abilty there? and instead of putting kill "the hero" put kill triggering unit. that should work. and do you mind me asking why in the world anyone would want to cast an abilty that kills them? is dying a good thing in you map somehow? cuz if so that would be original and funny.
10-27-2003, 10:41 PM#3
Voi
Sorry, I saw what was wrong now. I added a hero just for testing and the triggers only refered to a specific unit. My specific unit died but not my test unit who was casting the spell.

Sorry...

And my answer:
When you are upon to die you can use this ability to kill an enemy hero at the same time.
10-27-2003, 10:49 PM#4
Das Jank
Quote:
E - "The Hero" is issued an order targeting a point

There is one of your problems, stormbolt doesnt target a point, it targets an object.
10-27-2003, 11:00 PM#5
Voi
Quote:
Originally posted by Das Jank
There is one of your problems, stormbolt doesnt target a point, it targets an object.


I had targeting object but I wrote wrong, but look at my last message to see what was wrong.
10-27-2003, 11:34 PM#6
Voi
Quote:
Originally posted by Das Jank
There is one of your problems, stormbolt doesnt target a point, it targets an object.


I had targeting object but I wrote wrong, but look at my last message to see what was wrong.
10-28-2003, 02:15 AM#7
SpectreReturns
Evil double poster. >:(.
10-28-2003, 05:06 AM#8
FF_Behemoth
variable is your friend...

create a unit variable named stormboltCaster

E- a unit starts the effect of an ability
C- ability being cast equals to () <--- insert your spell here
A- set stormboltCaster = (casting unit)
A- move stormboltCaster instantly to () <-- insert your region here
A- kill stormboltCaster
10-28-2003, 05:24 AM#9
Dragon
Quote:
Originally posted by Voi
:bgrun: Im trying to make a storm bolt, but when the hero cast the storm bolt I want him to move to a "secret" position and die. I can't get it work, I've tried following:

First try:
E - "The Hero" is issued an order targeting a point
C - (issued order) equal to thunderbolt
A - Move "The Hero" instantly to "The Rect (Region)"
A - Kill "The Hero"

Second try:
E - "The Hero" begins casting an ability
C - Ability being casted equal to "The Ability"
A - Move "The Hero" instantly to "The Rect (Region)"
A - Kill "The Hero"


Try:

E: Unit begins casting an ability
C: Ability being cast equal to "Your Ability Here"
C: Casting Unit equal to "Whatever hero(s) have the ability"
A: Wait 1 second
A: Move Casting Unit instantly to "Your Region Here"
A: Kill Casting Unit

All things in quotes would be replaced with whatever you want. You don't need a variable, a variable is something that can change, you see? Vary-able? See? Well, in this case, it doesn't vary, so you don't need a variable.
10-28-2003, 05:37 AM#10
FF_Behemoth
Ya I know, its just that I dont like using the preset event response.. espcially casting unit and triggering unit