HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Opening/Closing

09-16-2003, 12:53 AM#1
Eriond
I have a trigger, and I can't figger out what the problem is.

EVENTS:

Unit - Unit recieves an order targeting an object.

CONDITIONS:

Destructible Type - Destructible type of issued order equal to Door (Horizontal) or Door (Vertical)

ACTIONS:
Open - (Destructible of Issued order)
Wait 3.00
Close - (Destructible of Issued order)

All this works fine, but when I get to the closing part, the door doesn't close. I've tried it, selecting a single door so it looks like;

ACTIONS:
Open - (Destructible of Issued order)
Wait 3.00
Close - (Door (Horizontal) 472 [or whatever])

This works fine. How can I get the above trigger to work? If I do it the other way, I'm gonna have to make like 700 triggers to open and close doors.

All help is greatly appreciated,
Eriond
09-16-2003, 01:00 AM#2
Das Jank
From what I have heard, after you tell it to "wait" it loses all information from before so it doesn't know what the "Destructable of issued order" is.
09-16-2003, 01:04 AM#3
Eriond
So I guess I have to set a variable, eh? Is there anyway around this? Or is that it.
09-16-2003, 01:12 AM#4
Das Jank
Variable would be your best bet. Wouldnt take much more work either.