| 02-13-2005, 12:05 PM | #1 |
Code:
Event: Unit - A unit Is attacked Condition: (Unit-type of (Attacking unit)) Equal to Slow Tower Action: Unit - Order (Attacking unit) to Human Sorceress - Slow (Attacked unit) I'm using that code for a tower to cast slow on the enemy units, but what if i want to use a custom spell instead? If you look through the list it doesn't have any custom spells(where it says "Human Sorceress - Slow" in my code). Does anyone know a way to get around this? or does that slow option include alll custom spells based off of slow? |
| 02-13-2005, 12:14 PM | #2 |
it will use the ability data so any ability based off 'slow' will activate |
| 02-13-2005, 01:18 PM | #3 |
Yep pretty much, or you could actually just give it an orderstring, and set the order string in the object editor to something else, and then order it to do that. |
| 02-13-2005, 03:40 PM | #4 |
ok, im guessing you have an ability as a trigger to slow units, but want it as a ability for the unit so the players know its there?? This will be easy, just give that tower a spell with NO abilities (make it passive too!), that way it actually does NOTHING, but the trigger will, so the players will still know its there |
