Small Problem?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
FreddeN
Lance Corporal
Posts: 16
Joined: Tue Oct 06, 2009 7:25 pm

Small Problem?

Post 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
Wierdo
Corporal
Posts: 47
Joined: Wed Jan 09, 2008 11:15 pm
Location: Winfield, KS

Post 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.
Post Reply