How to make Two enemies making a dialogue?

Post your scripting questions / solutions here

Moderator: Moderators

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

How to make Two enemies making a dialogue?

Post by FreddeN »

Hello Again!

As the title says, I want two guys standing next to each other and making a dialogue (talking)... sounds from ubersound or what it is called...

Anyway, how should I script this and make in Radiant?

Thanks for your Help
Smithy
Corporal
Posts: 46
Joined: Fri Aug 18, 2006 8:54 pm
Location: United Kingdom

Re: How to make Two enemies making a dialogue?

Post by Smithy »

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

I have 2 enemies, one called talker1 and one called talker2. When I go past a trigger, this is threaded.

Make a trigger once, make it's Key: setthread Value: germantalkers
User avatar
dude77
Corporal
Posts: 49
Joined: Tue Sep 01, 2009 8:37 pm

Post by dude77 »

is it supposed to work for allies aswell, i tried bet it doesnt work, is there some ohter method?
(i used allied dialogue btw)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Certainly should work for allies as well. No modifications to the script are needed.
Image
User avatar
dude77
Corporal
Posts: 49
Joined: Tue Sep 01, 2009 8:37 pm

Post by dude77 »

it dosent work??! it works when i want germans to but not allies?
also i cant seem to find 'trigger>once' i used a trigger>multiple but the german repeats the start of the dialogue until you move out of the trigger...
Post Reply