Have a annoyin problem Plz someone help

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
LT.BARNES
Major
Posts: 288
Joined: Mon Dec 30, 2002 4:37 pm
Location: london

Have a annoyin problem Plz someone help

Post by LT.BARNES »

OK well i can get enermys to talk fine! i can get the enermy's to say anythin i want...

But it is the allies i have trouble with! grrrr.

i can't get them to speak at all! grrr i mean i want my allies to speak. i want to use dialoge from mission 6. but i when i go through the trigger they jus stand there and say nothin. but if this was axis talkin it will work?

why won't my allies say anythin?
...prepare for your finest hour...
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Maybe you could be a little more specific :?. No one here is - as far as I know - able to conjure :(.

So, if you want any help, tell us what your script looks like and how you set things up in Radiant.
Image
LT.BARNES
Major
Posts: 288
Joined: Mon Dec 30, 2002 4:37 pm
Location: london

Post by LT.BARNES »

Ok

well i can make germans talk with a trigger and it will all work.

But when i do the same thing with allies and goin through a trigger, it won't work.

all i change is the german speech to allied speech.

but it won't work.

Why won't my allies talk! ?


HERE IS MY SCRIPT FOR GERMANS TO TALK (AND IT WORKS ALL FINE)
Speech:
$talker1 lookat $talker2
$talker1 say *from german dialog*
$talker1 waittill saydone
wait 1
$talker2 lookat $talker1
$talker2 say *from german dialog*
$talker2 waittill saydone

Now if i wanted the allies to talk i would do the same as above, BUT:

1) change their name ie $talker4 $talker5
2) change the setthread trigger from "speech:" to "speech2"
3) use allied dialog

ie.

speech2:
$talker3 lookat $talker4
$talker3 say *from allied dialog*
$talker3 waittill saydone
wait 1
$talker4 lookat $talker3
$talker4 say *from allied dialog*
$talker4 waittill saydone
end

somethin like this......
...prepare for your finest hour...
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Keep in mind thread names are case sensitive.
Image
LT.BARNES
Major
Posts: 288
Joined: Mon Dec 30, 2002 4:37 pm
Location: london

Post by LT.BARNES »

yea.

well can u help?

can u make a v little room with 2 allies talkin to each other when u go through a trigger plz or a lil tutorial for it plz jv_map? or someone
...prepare for your finest hour...
CHeesER
Corporal
Posts: 25
Joined: Wed Feb 19, 2003 2:55 am
Location: Canada

Post by CHeesER »

Have you added

Code: Select all

exec global/friendly.scr
thread global/friendly.scr::friendlygen
to your map scr.

Do your friendly ai's have targetnames that need to be leveled in your script

Code: Select all

level.friendly8.targetname=$medic
Here is a small portion of a script my bro made,should help ya a bit

Code: Select all

scene1:
$scene1trigger waittill trigger

	//$medic anim idle_crouch_grenade

	$medic thread make_full_turn $player

	$medic say dfr_scripted_M5L3_13f //"Lieutenant."
	//$medic waittill saydone

	level.friendly4 runto friendly_call_way
	level.friendly4 waittill movedone
//wait .5
	level.friendly4 thread make_full_turn $player
	level.friendly4 say dfr_scripted_M3L1_075k //"Powell, get down the line, the Captain's needs you!"
	level.friendly4 waittill saydone
PS:read the Friendly.scr
Post Reply