• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Please help me with this spell

Status
Not open for further replies.

xiaowayne

X

xiaowayne

how do u cast an ability afterward follow by another custom ability?anyone noes tt?my event show this

Event - A unit finishes casting an ability
Condition - (Ability being cast) Equal to Hell Spinner
Action - ????

i duno wat to put for my action...
the next spell i would carry on is the hell fire(flame strike)
btw my Hell Spinner is Impale.
i wanted to create the hell fire at the point where the player left click the point.
how do i do tt?
 
Hope i don't missunderstand you. I assume you want to cast flame strike custom several seconds after the first impale.

Event:
unit starts the effect on ability

condition:
ability being cast equal to impale_custom

action:
Set target_loc = Target point of ability being cast
wait 1 second.
Create dummy unit that has flame_strike_custom ability on target_loc
order last created unit to flame strike target_loc


You must use target_loc variable to store target position on first impale, because there is a wait action. whenever you put a wait action, you can't get an event response again after that(e.g. triggering unit, target unit, target point), so you must store it on variable to be used later.
 
btw leopard how do i get the omnislash(dota) in a more simplify version?i seen others very complicated...

i cant use ->

Event - A unit finishes casting an ability

can i use tt?
 
xiaowayne said:
btw leopard how do i get the omnislash(dota) in a more simplify version?i seen others very complicated...

i cant use ->

Event - A unit finishes casting an ability

can i use tt?

NO, i think you can't, i haven't use that action actually. Just use 'starts the effect of an ability'. and wait several sec.

Complicaated spell always built by complicated code, dude :wink: Try to see Vexorian's Ice Slash, download it from wc3campaigns.com. It even give frost effect to each slashed target. But very complicated i think :P

Or just search this forum, i found the same question about 3 weeks ago.
 
why not do something like
Event - A unit begins casting a spell
----
Condition - Abilty being cast equal to (Desired ability)
----
Action -
Wait (Amount of time until the animations of your ability are over)
Create 1 (Dummy Flamestrike) at (Target Point of Ability Being Cast) for (Owner of (Casting Unit))


or something like that?
 
Status
Not open for further replies.
Back
Top