• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Some basic WE Triggering questions

Status
Not open for further replies.
Level 5
Joined
Apr 6, 2006
Messages
98
Okay i got a few basic questions based of GUI and other basics

1) Using GUI, how do you create special effects to occur upon activating of a passive (i.e bash)

my current situation for this is

Event
Unit begins channeling a spell

Condition
Ability being cast equals to Bash

Actions
Create special effect at position of "target of ability being cast" using "warstomp"


and this doesnt work, so how do i make effects to be created on a target unit when it is bashed/critical'ed (without the use of dummy units, or is there a need for dummy units)


2) How do you make the locust swarm "locusts" become instant cast of skills when the locust swarm is casted?

The problem here is to like replicate DoTa's lunas eclipse spell and treant protector's overrun spell. As in the game, upon casting of the spell the "locust" units immediatly cast the spell given to them to the units around them.

My problem is that when i use this trigger

Event
Unit is attacked

Condition
Unit type of attacking unit equals to "Locust"

Actions
Order "attacking unit" to Mountain King - Storm Bolt "attacked unit"

but there is a delay between the casting of the locust swarm spell and the dummy units casting their spells, even after i set the turn rate,AoE and release delay all to minimal of 0.01.

So any fixes to these 2 problems? Any help appreciated
 
Ok, dear, you really need to know some stuff.
First of all, "Unit - A unit begins channeling/begins casting/starts the effect of an ability" events refer to active abilities, not passive.

Even I sit down and type all those things you want, you might not get it. Begin reading tutorials, and, if there is anything you want to know, feel free to ask.

References:
[•] http://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/basic-triggering-5885/
[•] http://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/basics-triggers-32113/
[•] http://www.hiveworkshop.com/forums/...9/spells-frequently-asked-questions-faq-9469/
[•] http://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/variables-5896/
 
Level 3
Joined
Feb 23, 2010
Messages
73
well, pharaoh is correct, you need to learn more about how triggers interact with abilities.

but for the staightest answer sake - ill try to provide an easy solution.

As for your passive ability, there is no need to trigger at all. Simply modify the Art - Target field and if necessary the attackment points.

As for your locust ability, make sure you have casting times set to 0 first of all. Next, do not use Unit - A unit is attacked as your event. You should use A unit enters (playable map area) to trigger the ability, with the same conditions and actions generally, except make sure you define the unit as "triggering unit" instead of "attacking unit". To pick a target for the ability of the locust, just use Set My_UnitGroup_Var = (units within (whatever your abil's range is) of triggering unit), and then do pick random unit from My_UnitGroup_Var and order triggering unit to storm bolt picked unit.
 
Status
Not open for further replies.
Top