• 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!

need help with collision.

Status
Not open for further replies.
Level 7
Joined
Dec 18, 2004
Messages
148
Hello i need someone to help me with a collision trigger. I need it to hit only units the gun shot tuches (right now a gun shot below or above would kill a flying unit or a smaler unit then you).

I also need it to shoot up and down to hit the units after this is fixed.

PM me or leave a post here if you can help.
 
ok.

The system i have now can kill air if the gun shot is below or above the unit.

what i need is it to only kill the unit if it hits the model directly
untitled6uu.png
 
ummm yes im pretty sure it will work.
use this GUI trigger:
Event
-unit starts the effect of an ability
Condition-
Ability beig cast equal to YourAbility
Actions-
if all conditions are true...
If-
Targets Flight height less then equal to 495
Then-
**YOUR ACTIONS**
Else-
do nothing

if all conditions are true...
If-
Targets Flight height greater than then equal to 505
Then-
**YOUR ACTIONS**
Else-
do nothing

if all conditions are true...
If-
Targets Flight height equal to 500
Then-
**YOUR ACTIONS**
Else-
do nothing


that should work
 
Status
Not open for further replies.
Back
Top