Page 1 of 1

Small Problem?

Posted: Tue Jan 05, 2010 7:05 pm
by FreddeN
I got some trigger problems, when I walk into a trigger two germans with targetnames of talker1 and talker2 should start talking, but they start to early, they start talking at spawn, not when I walk through the trigger.

I've maked a trigger multiple with setthread germantalkers and this is how the script looks like:

Code: Select all

germantalkers: 

$talker1 idlesay den_m6l1_614r 
$talker1 waittill saydone 

wait .1 

$talker2 idlesay den_m6l1_615b 
$talker2 waittill saydone 

wait .25 

$talker1 idlesay den_m6l1_616r 
$talker1 waittill saydone 

wait .5 

$talker2 idlesay den_m6l1_617b 
$talker2 waittill saydone 
    
wait .1 

$talker1 idlesay den_m6l1_618r 
$talker1 waittill saydone 

wait .1 

$talker2 idlesay den_m6l1_619b 
$talker2 waittill saydone 

wait .1 

$talker1 idlesay den_m6l1_620r 
$talker1 waittill saydone 

wait .5 

$talker2 idlesay den_m6l1_621b 
$talker2 waittill saydone 

wait .1 

$talker1 idlesay den_m6l1_622r 
$talker1 waittill saydone 

wait .1 

$talker2 idlesay den_m6l1_623b 
$talker2 waittill saydone 

wait .1 

$talker1 idlesay den_m6l1_624r 
$talker1 waittill saydone 

wait .1 

$talker1 idlesay den_m6l1_625b 
$talker1 waittill saydone 

wait .1 

$talker2 idlesay den_m6l1_626r 
$talker2 waittill saydone 

wait .1 

$talker2 idlesay den_m6l1_627b 
$talker2 waittill saydone 

wait .25 

$talker2 idlesay den_m6l1_628r 
$talker2 waittill saydone 

wait .1 

$talker1 idlesay den_m6l1_629b 
$talker1 waittill saydone 

end
Thanks for the help

Posted: Sun Jan 17, 2010 6:31 am
by Wierdo
Give your trigger multiple a $targetname such as talkstart. Remove the setthread. Finally, beneath the thread heading of germantalkers:
$talkstart waittill trigger
that should cause the script to wait till that trigger is fired.