HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Creating Item based on Goblin Land Mine

07-07-2008, 04:58 PM#1
deathdrivex
Once again, me and my horrible troubles with items and abilities.

I created an item based on the GLM called "Electric Shock Trap" which supposedly stuns and deals small damage upon attacking or going near it. Problem I have is that when an enemy goes near it, it instantly explodes into nothingness. I wanted to edit that instant death to instead deal 50-100 damage + stun enemy upon spot.

All help appreciated.
07-07-2008, 08:30 PM#2
Anitarf
Try basing the item's ability on the troll witchdoctor's stasis trap. Then, give the summoned unit a damage-on-death ability based on the one that the goblin land mine has. If all works correctly this should give you a ward that dies when enemies approach it, stunning them and dealing AoE damage.
07-07-2008, 10:52 PM#3
deathdrivex
thanks once again anitarf. Now to try it out once I get back from library....
07-11-2008, 06:37 PM#4
deathdrivex
Just got back to the WE (troublesome stuff to deal with last few days).

I still have the problem that the ward explodes and instantly kills the enemies when basing the AoE on GLMine. I dont want the "instant death" but the rest works fine.
07-11-2008, 11:54 PM#5
Anitarf
I'm not sure what the problem is. You said you wanted it to stun and deal damage?
07-12-2008, 03:23 AM#6
deathdrivex
Yes, I wanted it to stun and deal damage. But when I copied the AoE ability of the GLM onto the EST, it just explodes when an enemy is within range of the ward.
07-12-2008, 09:07 AM#7
erwtenpeller
Reduse the damage dealt, goblin land mine is not a 1-hit-KO move.
07-12-2008, 05:34 PM#8
deathdrivex
The AoE only does 10 damage, with the partial damage set to 5. Not sure what else is happening there. I checked the stuff and am pretty sure it aint supposed to kill anything.
07-20-2008, 09:01 PM#9
deathdrivex
Bump

I still havin trouble with this. Units just die in an instant the moment they touch the ward or move within range of it. I couldnt find anything that would set off the detonation or the damage it deals.

Any other type of ward I can use to auto detect enemy nearby and destroy itself and stuns enemies?

EDIT: Also, how to make it so enemies get stunned upon death of the ward? Doesnt seem to work with stasis trap.
07-20-2008, 11:01 PM#10
FarsalanSX
sorry about this this might not even help but try lowering the damage and testing the map every time...
07-23-2008, 02:52 AM#11
deathdrivex
Used another AoE so now it doesnt kill instantly. Also, I still need help on getting it to freaking stun when it dies.
07-23-2008, 06:41 AM#12
darkwulfv
Just detect when a unit dies, check for that unit, and cast War Stomp.
07-29-2008, 03:51 AM#13
deathdrivex
Couldnt find any trigger to cast an ability. Maybe I'm looking for the wrong thing?
07-29-2008, 04:32 AM#14
darkwulfv
If you're using GUI:
Trigger:
Unit - Issue (Unit) to "Tauren Chieftain - War Stomp" (Point)
(Unit) should be a dummy caster. It should have a dummy ability based on War Stomp. (Point) should be where the ward is. Don't forget to clean your point leak!


If you're using JASS:

call IssueImmediateOrder(unit, "stomp")
07-30-2008, 04:49 AM#15
deathdrivex
Thanks, this helps A LOT. Now I can finally begin constructing more "Traps" and Death-based abilities.

+rep to all who helped.