• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!

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.
 
Level 7
Joined
Dec 18, 2004
Messages
148
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
 
Level 10
Joined
Aug 8, 2004
Messages
562
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.
Top