| 02-18-2004, 10:19 PM | #1 |
Here it the trigger that I'm trying to get working.. Events Player - Player 1 (Red) types a chat message containing -blink as An exact match Player - Player 2 (Blue) types a chat message containing -blink as An exact match Player - Player 3 (Teal) types a chat message containing -blink as An exact match Player - Player 4 (Purple) types a chat message containing -blink as An exact match Player - Player 5 (Yellow) types a chat message containing -blink as An exact match Player - Player 6 (Orange) types a chat message containing -blink as An exact match Player - Player 7 (Green) types a chat message containing -blink as An exact match Player - Player 8 (Pink) types a chat message containing -blink as An exact match Player - Player 9 (Gray) types a chat message containing -blink as An exact match Player - Player 10 (Light Blue) types a chat message containing -blink as An exact match Conditions Actions Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Hero - Learn skill for (Picked unit): Blink ) now basicly what I need this to do is add the ability Blink to the hero of of whoever typed "-blink" but for some reason it's not working, I have already changed the blink spell to work for the human race, I've fixed the location of where the button is supose to show up at, I've done everything I can think of, I know it has to be something with the trigger, if anybody knows, and can help I would appricate it. Thanks Dark_Baron_Prot |
| 02-18-2004, 10:31 PM | #2 |
well, when you force a hero to learn a spell, it requires a skill point earned from a previous level to actually learn it.... |
| 02-18-2004, 10:36 PM | #3 |
okay, I changed the trigger to this, but it still doesn't seem to work. I gave the hero an extra skill point, but still no blink. I set the X and Y numbers to X-3, Y-0 (so the spell "should" appera in the top right corner) I made the spell to work for human, the thing just isn't working. this is what I changed the trigger to, (the events are still the same) Actions Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions) Loop - Actions Hero - Modify unspent skill points of (Picked unit): Add 1 points Hero - Learn skill for (Picked unit): Blink |
| 02-18-2004, 10:40 PM | #4 |
The Hero also has to have the skill, it can't learn a skill it doesn't have. |
| 02-18-2004, 11:24 PM | #5 |
use give unit ability instead. Learn Skill is just for learning skills it already has, give ability will give it right to the hero I believe. |
| 02-18-2004, 11:31 PM | #6 |
You cant level spells by ordinary means if you add them like that. |
| 02-18-2004, 11:55 PM | #7 |
Yes, you either have to create a custom upgrade and research every time you want to upgrade the skill or create a different skill for each level and add\remove for each upgrade. I personally believe the upgrades are smoother. (And I learned that the hard way...) |
| 02-19-2004, 12:05 AM | #8 |
Also, since you seem to be misinformed on this point, the X/Y coordinates of the ability only matter in so much as where you'd like for it to be displayed. If you pick a spot for teh ability that another icon is in, it will simply move onto the next and next and next until it finds an empty slot (hopefully the whole grid isn't full). |
| 02-19-2004, 12:11 AM | #9 |
I changed it from a hero ability to a unit ability and it works fin now.. thanks everyone |
| 02-19-2004, 03:21 AM | #10 |
Hi Dark_Baron_Prot, As far as I know, changing the ability from a hero to a unit ability doesn't solve the problem. How was it possible for you? If the command: Unit-Add Ability is used, the ability actually is not levelable, correct me if I'm wrong. If I want a hero to level a ability I would need to first remove the existing one and adding a higher lvl ability...hmm.... Hi Shimrra, Are you talking abt using the upgrade section of the object editor? How is it better? Is Unit-Add and Remove command not enough? Sorry to ask so many questions... I'm curious to know... |
| 02-20-2004, 05:49 AM | #11 |
Yewtee- Changing the ability from a hero skill to a unit skill let me add the skill to my hero by typing in a command, since hero's need skill points for their abilitys, I couldn't add a skill that they didn't have as an option already, since this is a map makers cheat, (you all know about them, everyone adds their own cheats to their games) I didn't want to let everybody have the option for blink.. but yes, changing it from a hero ability to a unit ability worked since I didn't need any skill points to add the spell. and yes, you are correct about it not being levelable, but with a few little tweaks on the ability editor, I wouldn't need to level it. |
| 02-20-2004, 07:11 AM | #12 |
Thanks for the reply. So what tweaks did you use? |
