OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Mad Pup on 16 Feb 2012, 00:52:56

Title: [SOLVED]Names...
Post by: Mad Pup on 16 Feb 2012, 00:52:56
So I'm making this mission, where 4 civilians talk to each other (not using actual sound) through global chat. Now how do I make it so that each civilian has his own name, and that name shows up instead of "Civilian", when he talks? THANK YOU

- Mad Pup
Title: Re: Names...
Post by: Aldo15 on 16 Feb 2012, 02:36:17
Hey, .

1. Add a strigntable file and change group names. Let's say: Papa Bear for 'Name of civilian'.
Explame:

no stringtable

civil sideRadio (or sidechat) "Radiomsm1",
Message:

PAPA_BEAR "Radiomsm1"

Now with strintable edit.

Edit the strigntablew file:
"English","Spanish","German",etc

STR_PAPA_BEAR, "Civilian_one","Civilian_one,"Civilian_one"

Change papa bear name, let's say 'Civilian_one", so the command:
[west, "hq"] sideChat "Radiomsm1"

Now the message:

Civilian_one: "Radiomsg1"

Were you able to understand me?
I hope it helps
Title: Re: Names...
Post by: Mad Pup on 16 Feb 2012, 06:02:25
Aldo15 thanks so much, you're a great help. I understand you completely. Thanks for the quick relply!  :good:  :P