HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help? Trigger not working.

02-13-2004, 06:16 AM#1
neenja
problem. Im trying to make peons disappear for a moment as they get close to their drop off point, here is the triggers I have now:

E: Unit enters region 000
C: current order of entering unit = order(returnresources)
A: hide - entering unit

E: Unit leaves region 000
C: (or) any condition true:
1. current order of leaving unit = order(autoharvestgold)
2. current order of leaving unit = order(autoharvestlumber)
A: unhide - leaving unit

none of them work, help :P
02-13-2004, 02:57 PM#2
xxxSpikexxx
maybe you have to use "order(gather)" but i am not quite sure...

and even if the first trigger would work the second one wouldn't because a hidden unit can't move as far as I know ... you have to use:
"animation - change vertex coloring" and set it to 100% tranparency ...

one more thing: why can't you people stop making thread names that just don't say a f***ing thing? :hm:
02-13-2004, 11:31 PM#3
neenja
Well thanks for trying to help but no, i did what you said before and didnt change anything (and hidden units can move if given a command before going invis: gather resources after returning is an auto-move command)

I named it that because I had it as something else for a few hours and nobody viewed it, so I changed the title to get a bit of notice, obviously it worked a little, still a correct answer would be nice...

the orders I have are correct based on UMSWE manual..
02-14-2004, 03:54 AM#4
SirSalute
your first trigger should be working properly, are you sure it isn't working, if it doesn't i'm stumped

for your 2nd trigger, it doesn't work because region dont take hidden units as 'units'. they won't check for them, unless you state in the trigger
(I'm not that good in trigger, but I'm almost sure about it)

As xxxSpikexxx said, you can change the vertex colour instead of hidding the unit.

Maybe this doesn't help much, i remember coming across some threads about the 'harvesting' ability is buggy, not sure which part of it buggy though.
Thats all i can tell, i've tried my best.
02-14-2004, 04:36 AM#5
Earth-Fury
i dont think hidden units can move. thus, when they enter, hide em, wait, unhide, reisue order.
03-01-2004, 04:12 PM#6
volatile
just say this.

Unit enters region

unit is in range 150 of hall
hide entering unit

trig 2

unit leaves region

unit range 150 of hall
unhide leaving unit

or better yet, instead of using hide, use a property under "animation" I believe, it will let you make the unit invisible without hiding it. Check it out. It's got a wierd name so check every animation function.