• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Cage Spell

Status
Not open for further replies.
Level 2
Joined
Oct 24, 2005
Messages
7
Yeah, the Topic says everything, i need help to make a Spell called "Caging", if you cast that Spell on a Unit, its getting caged by the doodad "Magical Pen", which should be Invulnerable and he isnt allowed to cast spells or attack nearby enemies. It also cant be countered.
It should have 3 levels if u need to know that.

Level 1: Cages the Enemy Unit for 5 Seconds.

Level 2: Cages the Enemy Unit for 10 Seconds.

Level 3: Cages the Enemy Unit for 15 Seconds.

If someone could help me, that would be fine!

x|X|x
 
Level 6
Joined
Sep 17, 2005
Messages
276
make a dummy spell and use triggers to get the special effect on the unit. kinda that:

Code:
EVENT:

unit-a unit begins casting an ability <Cage>

ACTIONS:

create a doodad at (target point of ability being cast)
unit-pause target-unit of ability being cast

-if level of <Cage> equal to 1
-then wait 5 sec
      unpause target-unit of ability being cast
      destroy last created doodad
-else

-if level of <Cage> equal to 2
-then wait 10 sec
      unpause target-unit of ability being cast
      destroy last created doodad
-else

-if level of <Cage> equal to 3
-then wait 15 sec
      unpause target-unit of ability being cast
      destroy last created doodad
-else


i think that should work. if not or if you arent skilled in triggers, you can pm me (auch in deutsch) and give me a detailed description especially what models for effects etc... you want to use, and i will make it for you within next days.

PS: nice avatar :wink:
 
Level 6
Joined
Sep 17, 2005
Messages
276
ok i will do it for you (speaking english that others can read that topic too :wink: )

-THINGS I HAVE TO KNOW:

-> WHO is invulnerable? the doodad or the caged unit?
-> what is the doodad "magical pen"? i never heard it
 
Level 6
Joined
Sep 17, 2005
Messages
276
hm... i uploaded my spell for you. Here is the link...

http://www.wc3sear.ch/index.php?p=Spells&ID=1304

(sry konnte das doodad "magischer Pferch" nicht benutzen... immer wenn ich versucht hab, mit Effect oder platzieren um das Ziel zu legen, hat der den Pferch einfach immer in die Mitte der Mappe gesetzt. Habs noch lange Versucht, aber hat nicht geklappt...

naja, habs trotzdem mal mit einem anderen Effect gemacht, vielleicht geht der ja auch :? . Sonst must du vielleicht mal in die JASS section gehen und da was posten...)
 
Level 6
Joined
Sep 9, 2004
Messages
152
Code:
-if level of <Cage> equal to 1 
-then wait 5 sec 
      unpause target-unit of ability being cast 
      destroy last created doodad 
-else 

-if level of <Cage> equal to 2 
-then wait 10 sec 
      unpause target-unit of ability being cast 
      destroy last created doodad 
-else 

-if level of <Cage> equal to 3 
-then wait 15 sec 
      unpause target-unit of ability being cast 
      destroy last created doodad 
-else
can be turned to
Code:
      wait 5*(level of <Cage>) sec
      unpause target-unit of ability being cast 
      destroy last created doodad
 
Status
Not open for further replies.
Top