• 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.

Seeking Aid xD

Status
Not open for further replies.
Level 3
Joined
Oct 2, 2004
Messages
29
I'm working on this Mushroom Unit, that spreads poisones spores.... these spores drain life per seconds (1% per second)
I based that of healing aura (ward)

But I want to add something to this.... >>
If a unit dies under the effect of Poison Spores... it spawns a smaller Blue Mushroom.

I'm looking for some help/tips/tricks how to make a unit spawn something, by the use of triggers that is?
If you do know what I should do... please tell me! (so that even this noob can understand :p )
 
Level 2
Joined
Mar 10, 2005
Messages
19
i think id do this with a buff. give your ward ability a buff and try it with following trigger

event - a unit dies
conditions - unit has <<your buff>> (maybe add unit in range xxx of your ward caus ive heard about some strange things happened without it)
actions - create <<little mushrooms>> at point of dying unit
this should work. well i hope so.
 
Level 3
Joined
Oct 2, 2004
Messages
29
I do need to add something:
I only want those 'Tiny - spawned - Mushrooms'to last 5 sec.... how can I put a timer on them?

I'm probably really blind.... but under which category does 'a unit has ---' stand (under'Conditions' -)

My own noobishness bothers me :p
 
Level 2
Joined
Mar 10, 2005
Messages
19
ähmm yes the conditios thing, its (only want to mention that i looked it up for you caus i dont know it by heart^^) under boolen comparison, then instead of the default <is a building> do <unit has specific buff<your buff>> equal to true. and if you only want the tiny mushrooms to last 5secs, you have to do following things
create a dummy unit
create a new spell based on waterelemental which lasts 5secs and add instead of create <your unit> following actions
unit - create <dummy unit> at pos of dying unit
unit - add 1sec expiration timer to last created unit
unit - order last created unit to <archmage -
waterelemental>
ok this should work too.
 
Level 7
Joined
May 16, 2004
Messages
355
The only problem with a unit dying and having a buff is that when it dies sometimes the game will glitch and won't perform your actions, I have tried many times and it always finds a way to not work, so instead just do the whole listing of several conditions(range, invul, and such) Oh and to Daelin, actually you can remove expiration timers. Only thing is that its under buffs, or to remove an expiration timer you can make it set timer to 0 seconds, this will result in a unit that lasts indefinately.
 
Level 3
Joined
Oct 2, 2004
Messages
29
Well.... I found some spare time today so I tried to make the right triggers>>
Well... things don't really work yet, so if anyone knows what I'm doing wrong... please share :D

Events
Unit - A unit Dies
Conditions
((Triggering unit) has buff Poison Spores ) Equal to True
Actions
Unit - Create 1 Tiny Mushroom for Player 1 (Red) at (Position of (Dying unit)) facing Default building facing degrees


Edit: I just left the Timer for what it was.... I don't really need it after all

Thanks for the advice :)
 
Level 3
Joined
Oct 2, 2004
Messages
29
Hmm... so you're suggesting to make Poison Spores effect dead units?
I'm still quite confused about those triggers.... maybe I'll request the spell somewhere sothat (s)he can figure things out...

I'm really busy with school n stuff the next couple of days, so I'm probably not able to implent any of the suggest triggering
Well, if anyone knows anything helpful, please share
Thxxx :)
 
Status
Not open for further replies.
Top