| 01-26-2006, 10:42 PM | #2 |
I guess you are storing the unit in array in the first trigger for a reason? any periodic trigger that uses Stored_Unit? |
| 01-26-2006, 10:59 PM | #3 |
Well... I looked in the Extreme Candy Wars and the Stored Unit variable was only used in the Warrior triggers. :X Perhaps there is an easier way to write a spell like this? Okay, I even copied intercept in from the map. The cooldown doesn't work on mine, but it works on Blizzard's. >_< Edit: HO HO! I fixed it! Change this: Trigger: ![]() Warrior Charge Teleport![]() Actions![]() Unit - Order Player_Unit_Heroes[(Player number of (Owner of (Triggering unit)))] to Attack Stored_Unit[(Player number of (Owner of (Triggering unit)))]to this: Trigger: ![]() Actions![]() Unit - Order (Casting unit) to Attack Stored_Unit[(Player number of (Owner of (Triggering unit)))]The cooldown works after that. Well, the map was made for multiplayer(extreme candy wars), mine wasn't and didn't use that variable. Thanks for the help. :) |
