HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

What would TriggerWaitOnSleeps do?

05-22-2004, 03:18 PM#1
Alfryd
native TriggerWaitOnSleeps takes trigger whichTrigger, boolean flag returns nothing

native IsTriggerWaitOnSleeps takes trigger whichTrigger returns boolean

My guess is that it puts the trigger to sleep or wakes it up depending on whether the flag is true or false. Is that right? If not, I'd like to know if any such function exists.
Could this be used as a substitute for TriggerSleepAction, by having a different trigger give the wakeup call? Can a trigger call this on itself?
05-22-2004, 06:08 PM#2
weaaddar
this just means if the trigger ignores or accepts the sleep action command. if it doesn't wait on sleep it just keeps on churning. Default its on.
05-23-2004, 10:48 AM#3
Alfryd
Quote:
Originally Posted by weaaddar
this just means if the trigger ignores or accepts the sleep action command. if it doesn't wait on sleep it just keeps on churning. Default its on.

So, there isn't any way for trigger A to order trigger B to sleep, then wake it up?
05-23-2004, 01:57 PM#4
Cubasis
No, simply becouse 2 threads can't be running at the exact same time. So the logic wouldn't work. Perhaps the wake-native could work, but it doesn't exist.

~Cubasis