HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Making a spell that makes units invunerbale

10-30-2003, 06:19 PM#1
Omega_Destroyer
ok, how is this done. i based a spell of Inner Fire (named it Shadow Pact), and i want it to make the targeted unit invurnerable and give it 1 HP. how is this done?
10-30-2003, 07:11 PM#2
Biflspud
Event: Unit is given an order targetting an object
Condition: Order = innerfire
Action: Set ShadowPactTarget = target of issued order

Event: Unit begins the effect of an ability
Condition: Ability being cast = Shadow Pact
Action: Unit - Set ShadowPactTarget current life to 1
Unit - Make ShadowPactTarget invulnerable
Wait x
Unit - Make ShadowPactTarget vulnerable
10-30-2003, 07:11 PM#3
Biflspud
Event: Unit is given an order targetting an object
Condition: Order = innerfire
Action: Set ShadowPactTarget = target of issued order

Event: Unit begins the effect of an ability
Condition: Ability being cast = Shadow Pact
Action: Unit - Set ShadowPactTarget current life to 1
Unit - Make ShadowPactTarget invulnerable
Wait x
Unit - Make ShadowPactTarget vulnerable
10-30-2003, 07:11 PM#4
Biflspud
Event: Unit is given an order targetting an object
Condition: Order = innerfire
Action: Set ShadowPactTarget = target of issued order

Event: Unit begins the effect of an ability
Condition: Ability being cast = Shadow Pact
Action: Unit - Set ShadowPactTarget current life to 1
Unit - Make ShadowPactTarget invulnerable
Wait x
Unit - Make ShadowPactTarget vulnerable
10-30-2003, 07:15 PM#5
Ligature
Funny, I think I've heard that before! (just joshin'...)
10-30-2003, 08:59 PM#6
Biflspud
Woops!
10-30-2003, 09:06 PM#7
Omega_Destroyer
I am new to Variables, so how would i make the ShadowPactTarget Variable, and any others that are needed? like what Varible Type?
10-30-2003, 09:10 PM#8
Voi
Quote:
Originally posted by Omega_Destroyer
I am new to Variables, so how would i make the ShadowPactTarget Variable, and any others that are needed? like what Varible Type?


Variable type = unit
10-30-2003, 09:12 PM#9
Omega_Destroyer
so the innerfire must be an order type then?
10-30-2003, 09:43 PM#10
Eriond
Inner fire isn't a variable. It's under conditions, order equal to.... Type in innerfire... or seomthing like that, go under the abilities tab, click inner fire, and near the bottom it willl have an order thing, saying Order - Use/Turn On = X

X is what you want to use for Order Equal to... X
10-30-2003, 09:59 PM#11
Shark
can it be done like
ability being cast equal to Shadow pact ?