Warcraft III resources & community, 2003–2006 · archived

Quick Help with trigger please

8 posts
#1

Quick Help with trigger please

Umm. Why isnt this trigger working?


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
#2
maybe jsut add a small wait before your change color action? it might not be registered as a unit yet.
#3
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.
#4
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
#5
BortDOH!! 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!!


haha don't you hate it when you miss some stupid detail?
#6
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
#7
That must be really hard for you :P
#8
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?