| 11-04-2003, 01:37 AM | #1 |
I wanted to know if there is a way to refreshed the sentinel on a huntress after using sentinel, or is there a way to increase the amt of sentinels usuable; during game play. Also I've been trying to figure out how to get a trigger to detect a victim of a spell. I have the whole part of getting the casting unit, but i cant seem to find, unit being targeted by spell. This would be really great if someone can help me out here. |
| 11-04-2003, 01:58 AM | #2 |
There's an abilty for sentinel which DOES recharge, it's under Unit --> Sentinel (Naisha).... I think that's what you mean? Can you explain it again if this doesn't answer your question? For the trigger, there is no function like that, though I wish there was, but there are tons of threads about this, but i'll explain again... actually I'm too lazy, search in this forum under Unit of Target Spell or something... you'll find it. |
| 11-04-2003, 03:22 AM | #3 |
Answer to Q#2 ---> http://www.wc3campaigns.com/forums/s...threadid=33040 |
| 11-04-2003, 01:55 PM | #4 |
Thanx for the trigger link, i think i maybe able to do more with my spells now. Back to the first question, alright i guess i was really unclear. My goal is this, make Ensare into a charged move, i got this down already. the hero will start off with 3 charges, kinda like the huntress with 1 sentinel. Now i made the item call thread, which is a usuable item. If the hero uses the item thread, its suppose to increase the charge in the skill ensare. Right now i dont know any way of increasing the charge amt. Only method i see currently is switching the hero with another hero with a base of x (current charges ) + 1 charges. But because its switching units back and forth, that's alot of duplicated triggers. I'm wondering if any one knows if there is another way to increase charges on skills. new question, similar to the one above though, I want ask if anyone knows a way to combine items, without checking each slot manually then remove both checked items and replacing them with 1 new one. I.e. if hero 1 has a heal potion(1 charge) in slot 1 and 2. It would remove both and put 2 charges of heal potion in slot 1 instead. I've tried this out it works by checking each slot, but that's 6 slots, with 15 checks on only 1 items. To increase from 1 - 2, if i want to make it from 2-3 that would take another 15 triggers. I was thinking of making a max item charge amt to 9. is there a more effecient way to trigger this? |
| 11-04-2003, 02:47 PM | #5 |
You will need to set up a variable to represent the spell being cast and have it start at 3, then use If/The/Else commands to decide whats going to happen, If "spell cast" then -1 from spellcasts (variable) else do nothing If hero item slot equal to "magic item" then +2 to spellcasts (variable) else do nothing. Im not sure on the acctual triggers but something like that (assuming its possible, as ive never tried) would be able to deal with your problem without removing/changing heroes. IDISacredIDI |
