HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Hide based on an order

03-08-2004, 10:30 PM#1
neenja
I need to create a trigger that unhides a specific unit if the order is equal to idle of any peon in playable map area, else hide unit

Cant figure this out, any help appreciated
03-08-2004, 11:35 PM#2
macotee-east
this is very confusing...
please say what you want to do in normal speech, not trigger terms.
03-09-2004, 12:08 AM#3
neenja
Err if you cant help me if I pose the question in terms of triggers, how can you help me with the trigger itself?

Anyway, I have created a unit that remains in the bottom left corner of Player X's screen, when clicked, it auto selects the nearest idle peon owned by Player Y, and moves the camera to it.

The problem is, that unit in the corner is always there, so sometimes clicking it does nothing. I am asking if anyone can help me find out a way to make that unit appear if a peon-type unit owned by Player Y is idle, and make it be hidden when there is not,
03-09-2004, 01:36 AM#4
LordHand
Whats wrong with the idle workers button thats built into the ui?
03-09-2004, 01:42 AM#5
neenja
Nothing, but I dont want the idle button to appear for the owner of the worker, but rather for his ally.