HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Cloaking SC style

11-02-2003, 10:05 PM#1
KoM-Inuyasha
OK i need to make a Cloak starcraft style, where you activate it, drains mana, etc. anybody have any suggestions?
11-02-2003, 10:28 PM#2
drezman
hmm, try a variation of shadowmeld with a casting trigger that takes away 1 mana every second.
11-02-2003, 10:31 PM#3
AllPainful
That or base the ability off of something that uses mana every second (like the "Immolation" ability) and just set damage to 0, and make a trigger that when the ability is cast it give the unit the "Invisible" ability, and when its done casting it removes the invisibility.

Either way will work.
11-02-2003, 11:06 PM#4
KoM-Inuyasha
no event for orderstrings... A unit starts casting a spell works cept i can't stop it ("stops casting a spell" refers to the time it takes to cast the spell same with "finishing casting spell" [ie: 1.67 seconds or somtin for flamestrike])

any suggestions?
11-02-2003, 11:08 PM#5
Dragon
Stops casting a spell should work for immolation.
11-02-2003, 11:09 PM#6
KoM-Inuyasha
doesnt... already tried it
11-02-2003, 11:20 PM#7
35263526
What about Unit starts the effect of an ability and unit finishes the effect of an ability?
11-02-2003, 11:32 PM#8
yoda_24
funny i just made this... you also have to have when the unit's mana is at zero to remove permanent immolation.

this is what i did (based off immolation)

Trigger: Cloak On

Events:
Unit - A unit Is issued an order with no target
Conditions:
(String((Issued order))) Equal to immolation
(Unit-type of (Ordered unit)) Equal to Covert Ops Specialist
Actions:
Unit - Add Cloak Invisibility to (Ordered unit)


Trigger: Cloak Off

Events:
Unit - A unit Is issued an order with no target
Conditions:
(String((Issued order))) Equal to unimmolation
(Unit-type of (Ordered unit)) Equal to Covert Ops Specialist
Actions:
Unit - Remove Cloak Invisibility from (Ordered unit)


as i said above, you also need one where if the mana reaches zero, it removes the ability.

Cloak Invisibility is an edited permanent invisibility with a 0 for duration so it doesnt uncloak when it attacks.

Covert Ops Specialist is the unit with the ability.


Edit: ah shoot I should have charged points for this like some other people would... j/k I'm benevolent.