If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here
Moderator: Moderators
ViPER
General
Posts: 1058 Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:
Post
by ViPER » Tue Jun 05, 2007 6:47 am
I have a trigger multiple - when i waittill trigger i get an error
waittill applied to NULL listener
^
when i trigger it - works fine. When the trigger is vacant the error returns. why is it NULL if its working otherwise???
my waittill / while loop is threaded from main - my trigger simply has a targetname.
bdbodger
Moderator
Posts: 2596 Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:
Post
by bdbodger » Tue Jun 05, 2007 8:33 am
That will only return an error if there isn't an entity with that targetname
ViPER
General
Posts: 1058 Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:
Post
by ViPER » Tue Jun 05, 2007 9:19 am
maybe a false error as indicated from some other unknown error?
ViPER
General
Posts: 1058 Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:
Post
by ViPER » Tue Jun 05, 2007 10:56 am
Got it -
I scripted the targetname with a cap letter. odd it worked as a trigger but didnt like the wait. lol
bdbodger
Moderator
Posts: 2596 Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:
Post
by bdbodger » Tue Jun 05, 2007 1:46 pm
You want something to tear your hair out about try using local.1 instead of local.i some time or using a cap in a while statement While(1) LOL you have to have good eyes to notice those errors .
tltrude
Chuck Norris
Posts: 4774 Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:
Post
by tltrude » Tue Jun 05, 2007 6:33 pm
You must remember that you don't use the "waittill" line if your trigger has "setthread".
Tom Trude,