HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

help on ability: kaboom

03-25-2004, 03:18 PM#1
xicaum
Hey, i'm making a map with this samurai guy, using demon hunter.
( do u guys know in war3 a unit that explodes on building? its goblin sapper)
well, i used his ability(kaboom) to make a harakiri ability for the samurai ( for people that dont know, harakiri is a samurai ritual , where the samurai kills himself using a blade...) , well, it doesnt work because of one thing only...goblin sapper in game doesnt have attack or anything, the only ability he has is kaboom, so they made that if u click with the right buttom on any unit or building the goblin would use his ability, so,. this is happening with my hero too, but it gets impossible to use him once he learns harakiri, cause everything u click on makes him go and use his ability...so, i wanted to know if there is a way to change it...and if u guys dont know how, if there is a way to make it trigger based...so the hero would kill himself, showing animation, and dealing AOE damage...
pllzzzz help me...ty
03-25-2004, 03:22 PM#2
Reaprojects
Quote:
Originally Posted by xicaum
Hey, i'm making a map with this samurai guy, using demon hunter.
( do u guys know in war3 a unit that explodes on building? its goblin sapper)
well, i used his ability(kaboom) to make a harakiri ability for the samurai ( for people that dont know, harakiri is a samurai ritual , where the samurai kills himself using a blade...) , well, it doesnt work because of one thing only...goblin sapper in game doesnt have attack or anything, the only ability he has is kaboom, so they made that if u click with the right buttom on any unit or building the goblin would use his ability, so,. this is happening with my hero too, but it gets impossible to use him once he learns harakiri, cause everything u click on makes him go and use his ability...so, i wanted to know if there is a way to change it...and if u guys dont know how, if there is a way to make it trigger based...so the hero would kill himself, showing animation, and dealing AOE damage...
pllzzzz help me...ty


I'm not sure if this is true, and maybe I shouldn't post, but I think the kaboom abilty has the 'attack' order string attached. Remove that from the ability and it should work. Please correct me if I'm wrong, just trying to help.
03-25-2004, 03:28 PM#3
xicaum
wow...ty...but =), where is that on the ability edittion??
03-25-2004, 03:39 PM#4
Reaprojects
Quote:
Originally Posted by xicaum
wow...ty...but =), where is that on the ability edittion??

It's in the "Object Editor -> Abilties -> Neutral Hostile -> Kaboom! (Goblin Sapper)"

And the correct field would be "Text - Order String - Use/Turn On"

BUT...

I just looked and it says "selfdestruct" there, not "attack". If you remove selfdestruct it still might work, but maybe not. I'm sorry, I don't know another solution right now.
03-25-2004, 03:45 PM#5
xicaum
tryed...didnt work....but, ty anyway
03-25-2004, 05:24 PM#6
BattleBotv8.2
I didnt read the entire post. Why dont you create a summoning spell and do this...

Event:
Unit generic unit event:
a unit spawns a summon unit

Condition:
Unit-Type comparisen:
(Unit-Type of (Summoned) Equal to XSummonDummyUnit

Actions:
Unit - Remove
Remove (summoned unit)
Unit - kill
Kill summoning unit
03-25-2004, 06:31 PM#7
Anitarf
Here's a very simple way of doing this with a trigger:
Just give your samurai an ability that does nothing (base it on something like thunderclap if you don't want it to target anything or storm bolt with very small range if you want to trget an enemy).

Then have one trigger do:

Events:
Generic unit event - unit starts the effect of an ability

Conditions:
Ability comparison - (Ability being) cast equal to (your dummy ability)

Actions:
Unit - add ability - Add (AOEdamageUponDeath(goblin land mine)) to casting unit
Unit - kill casting unit

That's it. You can find the AOE damage upon death ability under special-items.
03-26-2004, 02:43 PM#8
xicaum
hey, THANK U GUYS!!
i'll use the cocotion....how come i didnt think of it!!! thank U