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

Quick Help with trigger please

Status
Not open for further replies.
Level 6
Joined
Aug 29, 2004
Messages
159
Umm. Why isnt this trigger working?

Code:
Ghosty
    Events
        Unit - A unit Finishes training a unit
    Conditions
        (Unit-type of (Trained unit)) Equal to Ghost
    Actions
        Animation - Change (Trained unit)'s vertex coloring to (10.00%, 100.00%, 10.00%) with 75.00% transparency

Yeah, i just want to make a unit see-through and green, looking like a ghost. But this trigger isnt working. Anyone know why?
Bort
 
Level 7
Joined
Feb 15, 2005
Messages
183
I just tested that exact trigger as you have it. it worked fine for me. Have you reset your computer in a long time? I notice that warcraft will stop showing special effects and things like that if you havn't cold booted for a long time.
 
Level 6
Joined
Aug 29, 2004
Messages
159
DOH!! I've worked it out, the structure was selling the unit, not training it. This one's been bothering me for months and the solution was soo easy! Doh!!

Thanks for your confirmation the trigger actually works

Bort
 
Level 6
Joined
Aug 29, 2004
Messages
159
LOL i know. I do it heaps. Like i spent almost a month on one triggered spell. I wrote it 4 different ways.
Eventually i worked out that the problem was that one variable i was using through all the triggers was defaulting to false. I mean... ARGH!!!

Bort
 
Level 6
Joined
Aug 29, 2004
Messages
159
it was a diificult trigger. almost made me want to learn JASS. ever try having self-destructive defense drones fly around your hero? i mean... difficult doesnt begin to describe it.

r u into 40k? i saw some of ur marine icons, are they taken from the Codex or did u draw them urself?
 
Status
Not open for further replies.
Top