HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to give unit Permanent Mana shield?

03-26-2006, 02:40 AM#1
Exilus
A mana shield wich you cannot desactivate, and wich wont vanish once you reach 0 mana (as long as you have mana, the damage will go on it first)

how to do this?
03-26-2006, 02:42 AM#2
shadow1500
Check the shield system in my sig
03-26-2006, 04:34 AM#3
Zandose
I don't anything about the shield system but another way to do this may be to trigger it. When the unit takes damage or loses life you just replace the life and remove the mana. And for the mana shield just add the effect via special effects.
03-26-2006, 04:40 AM#4
Chuckle_Brother
No, check the shield system. Or check the passive mana shield that was uploaded on wc3s some time ago, no clue on the author, but I am sure a search would find it.
03-26-2006, 08:37 AM#5
Jacek
Quote:
Originally Posted by Chuckle_Brother
No, check the shield system. Or check the passive mana shield that was uploaded on wc3s some time ago, no clue on the author, but I am sure a search would find it.
Wasn't that Vexorian?
03-26-2006, 11:46 AM#6
Blade.dk
Yes, Vexorian made the passive mana shield.
03-26-2006, 01:12 PM#7
Exilus
Quote:
Originally Posted by Chuckle_Brother
No, check the shield system. Or check the passive mana shield that was uploaded on wc3s some time ago, no clue on the author, but I am sure a search would find it.


Nice! exactly what i need..(its for halo shield).

i had made a trigger that when X event happen,if unit dont get attack for 5 second, shield will regenerate quickly (it turned a trigger on wich set the mana of my unit higer every 0.01 second)


anyway i can do this with YOUR shield? 0 regeneration, and very high regeneration when X point happen?


and i didnt find any passive shields on wc3search (no spells were uploaded by vexorian)


btw i cant implement the shield into the map, i create variable hash..and all it required but when i try to save the map,it say there is a problem with the line "call CreateShieldEx(udg_guy,300,-1,0,3,0,"|cFF3232FF",true)"
03-26-2006, 01:46 PM#8
Jacek
Quote:
Originally Posted by Exilus
no spells were uploaded by vexorian
Of course, because he got pissed by downvoter on wc3s. Try looking at his forums http://www.wc3campaigns.net/forumdisplay.php?f=588
03-26-2006, 02:57 PM#9
Exilus
Quote:
Originally Posted by Jacek
Of course, because he got pissed by downvoter on wc3s. Try looking at his forums http://www.wc3campaigns.net/forumdisplay.php?f=588


i didnt find any manashield there....:(
03-26-2006, 04:20 PM#10
Chuckle_Brother
Bombard him with some PMs, or get him on MSN and ask if he still has a copy of it if a search fails to turn it up.
03-26-2006, 05:42 PM#11
shadow1500
dont copy the triggers... just the custom script part, and use the functions with ur triggers.
The variable udg_guy is missing, thats why it gives the error.
03-26-2006, 09:10 PM#12
Exilus
Quote:
Originally Posted by shadow1500
dont copy the triggers... just the custom script part, and use the functions with ur triggers.
The variable udg_guy is missing, thats why it gives the error.


no. i added it to my map.


it says: error line 15009: was expecting function name. then "call CreateShieldEx(udg_guy,300,-1,0,3,0,"|cFF3232FF",true)" is highlighted


auparently the program cant understand "CreateShieldEx"


my editor isnt in english,(even tough it is, now because of WEU) maybe its the problem?
03-26-2006, 09:36 PM#13
shadow1500
you have to copy whats in the custom script section to ur map
03-26-2006, 09:43 PM#14
Exilus
Quote:
Originally Posted by shadow1500
you have to copy whats in the custom script section to ur map


where is this section.? is it the Custom script : Call BlahBlah (300,0,0)? yes...i ONLY copyed the custom script then i put it in one of my triggers. same problem.

i also create the variable (guy) and assigned it to one of my guys


the problem is the same for any of your 3 shields (i used them each separatly) it always return the same error...so i doubt its about "guy" variable
03-26-2006, 10:38 PM#15
shadow1500
http://www.wc3sear.ch/viewtopic.php?t=13587