How to make created unit get classification UNDEAD ?

JuffoWup

New Member
Reaction score
6
I got one tricky ability working, that resurrects unit upons its death...
What spell actually does is that it creates new unit of same typed with lowered Hp and removes corpse of killed unit. Now what I want is that when Action create unit spawns this " resurrection " it should get classification Undead..
How on earth am I gonna make action "add classification" to target units that are created with this trigger ?
 

JuffoWup

New Member
Reaction score
6
Wont work if there are numerous of such events happening at the same time...
I faced this problem before
 
U

Um.....

Guest
or u can just make the created unit's classification undead
 

Rad

...
Reaction score
228
JuffoWup said:
Wont work if there are numerous of such events happening at the same time...
I faced this problem before

Explain? What trigger are you using? It shouldnt have any problems unless you use waits (But there are ways around that!)
 

Grundy

Ultra Cool Member
Reaction score
35
yea how could it not work unless you put a wait in? and if you did put a wait in then you simply use that action before the wait. just put that action RIGHT after the unit is created and it works.
 

Grundy

Ultra Cool Member
Reaction score
35
and why dont you just use animate dead? that automatically resurects a unit and makes it undead.
 

Jimpy

The Invisible Observer
Reaction score
277
Make a trigger that does something like...

Event - unit casts a spell

Condition - spell is equal to your revive thing

Action - remove revived unit and replace with X unit that is totally the same but counts as undead at same place and stuff...

This is really vague but should work if worded properly, I dont have we open...

For this you would need to create doubles of either every unit, or one that may be revived.

Edit: Dont double post.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top