HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Casting Custom abilities from middle man?!

04-15-2004, 08:22 AM#1
Waynebebay
This is my trigger so far.

Kill boss ability femur
Events
Player - Player 3 (Teal) Selects a unit
Conditions
((Unit-type of (Triggering unit)) Equal to Ability_FemurDisloacation) and (Hero_CanAttack Equal to True)
Actions
Set Hero_CastUnit = (Triggering unit)
Unit - Add Femur Dislocation to Hero_CastUnit
Unit - Order Hero_CastUnit to Attack Boss_Unit
Unit - Hide Hero_CastUnit
Selection - Clear selection for Player 3 (Teal)

Now... instead of "Unit - Order Hero_CastUnit to Attack Boss_Unit" I want it to say cast's "Femur Dislocation" on boss_unit but when I go into casts... it has all the default casts for the original game...
04-15-2004, 11:22 AM#2
ThyFlame
Order it to cast the spell that "Femur Dislocation" is based on.
04-15-2004, 10:50 PM#3
Waynebebay
Quote:
Originally Posted by ThyFlame
Order it to cast the spell that "Femur Dislocation" is based on.

It's not based on any of the default spells.
It's a custom spell.
04-16-2004, 12:52 AM#4
linkmaster23
I think he means he .slk edited. Just use whatever order code you used in your .slk editing.
04-16-2004, 01:54 AM#5
linkmaster23
OK, I never SLK edited, so I wouldn't know. Thanks.