Warcraft III resources & community, 2003–2006 · archived

need help with collision.

8 posts
#1

need help with collision.

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.
#2
huh?
explain better.
#4
ah gotcha.

easy.
make this condition:

Target unit's filght hieght less than or equal to X
Target unit's filght hieght Greater than than or equal to X
(under real comparison.)
#5
i dont think that will work..

you have to see how its made.

its all done in JASS in the custom map script. :wink:
#6
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
#7
nope wont work. well it will for 1 shot to a certin unit but i have like 6 shots be for it hits a unit so only 1 would hit. u need to use jass for this.
#8
nope it is possible with GUI.
make a dummy unit with perm. immolation and run to the positions and activate the damage trigger when unit gets buff.