HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

NOT make my unit Stop walking when activating Mana-Shield

04-15-2006, 01:41 AM#1
Exilus
im using triggers to active mana shield as soon as it is depleted, but this make my unit stop walking as soon as its mana get 0.how can i make the activation of my mana shield NOT stop my unit from walking?
04-15-2006, 04:07 AM#2
MaD[Lion]
i think u can do it by storing the unit's last order in a varibale, and everytime u activate ur manashield u run the last order
04-15-2006, 04:14 AM#3
Immoralis
Quote:
Originally Posted by MaD[Lion]
i think u can do it by storing the unit's last order in a varibale, and everytime u activate ur manashield u run the last order

cant you just "unmanashield"
or whatever is called
04-15-2006, 08:33 AM#4
Fulla
Give him a dummy spell, and give him passive mana shield when he activates.

You'd have tof ind the dummy mana shield. Dont know where it is on this site on wc3sear.ch
04-15-2006, 03:07 PM#5
Exilus
Quote:
Originally Posted by Fulla
Give him a dummy spell, and give him passive mana shield when he activates.

You'd have tof ind the dummy mana shield. Dont know where it is on this site on wc3sear.ch


it doesnt need to activate...im exactly TRYING to create a passive mana shield..ive searched during 2 weeks, and no, there is NO passive mana shield. none on wc3sear.ch, none on wc3c
04-15-2006, 05:51 PM#6
Immoralis
its right here...
http://www.wc3campaigns.net/showthread.php?t=80544
04-15-2006, 06:00 PM#7
Exilus
1)it add a little blue bar wich completly mess up my camouflage buff.
2)its not a passive MANA shield. it doesnt reduce your MANA as you get hit, it reduce the shield bar. and since half my shield triggers check the mana ammount of my unit, i have no one choice than not using his shield system.
3)if the damage ecceed the maximum life of your unit,no matter how powerful the shield is, it will still kill your unit.


i'm trying to find something wich does the exact same thing as a mana shield, eccept its passive.
04-15-2006, 06:24 PM#8
Exilus
Quote:
Originally Posted by MaD[Lion]
i think u can do it by storing the unit's last order in a varibale, and everytime u activate ur manashield u run the last order


was rather hard, but i made it. thanks! now my guy is instantly re-ordered to move when shield recharges.
04-16-2006, 05:42 PM#9
weaaddar
its impossible.
Ordering a unit using triggers causes him to forget his queued calls.

The only spell I know of that won't cuase your unit to stop moving when he casts it is the replenish family of spell.

I'm confused you want it to turn on when his mana is zero?
04-18-2006, 12:53 PM#10
cangrejo
Can't you just select the unit and make the player press the interface button (using triggers) corresponding to mana shield and then reselect the old selection?

I'm not sure how, but I have a faint memory that this is possible. Further, it will probably mess some other things up with your old selection...

Edit:

Game - Force Player 1 (Red) to press the key n
04-18-2006, 07:30 PM#11
PitzerMike
It won't stop if you simply set the fields Art – Animation Cast Point and Art – Animation Backswing Point for the unit type to 0. That way it will immediately cast spells and resume the order it had before.
This will obviously mess up other spells for which you would want a cast animation.
04-18-2006, 08:08 PM#12
arpha_storm
Making a JASS Mana Shield would do, I think, since you're trying to mimic Halo. Just get the damage from the event (I'm sure there are ways to get damage from an event) and heal MC or Elite for the damage, then reduce mana by damage. Dunno if it'll work on lethal damage though.
04-18-2006, 08:10 PM#13
shadow1500
Quote:
Originally Posted by Exilus
1)it add a little blue bar wich completly mess up my camouflage buff.
2)its not a passive MANA shield. it doesnt reduce your MANA as you get hit, it reduce the shield bar. and since half my shield triggers check the mana ammount of my unit, i have no one choice than not using his shield system.
3)if the damage ecceed the maximum life of your unit,no matter how powerful the shield is, it will still kill your unit.


i'm trying to find something wich does the exact same thing as a mana shield, eccept its passive.
number 1 & 2: You can use the included functions to make a passive mana shield, without bars, etc..
number 3: this is not correct, do some research before you say anything.