top of page

MAKE DIALOG BY ACTION

To make dialog with local sounds, please see the tutorial "MAKE LOCAL SOUND" to understand how to make sound delimited to a small area, to not make everybody listen the sound on the server

​

​

Now, lets see how to make a dialog with addaction to improve role play

​

​

After have configured your sound on your map (we will call your sound "Talk1", place your character in the editor, name it as "Soldat1" and in the INIT place :

​

 

this addAction["Speak", "dialog\dialog1.sqf"];

​

​

Go to your mission folder now, and make dialog folder and in this folder, make file "dialog1.sqf"

​

In this file dialog1.sqf, place this :

​

Soldat1 say3D "Talk1";

​

​

​

Save your map and test it

​

You will be able to click on "Speak" close to the character and the sound will be activated

And its not limited ! you click to activate the dialog, and you can activate again after times you want !

​

​

REPEAT THIS OPERATION WITH "Soldat2" etc,... "Talk2" etc.. in making dialog2.sqf, etc... you have just to repeat the operation to make others dialogs

​

​

​

​

You can do the same thing with message written (when you click a message appears in the top right)

​

Do the same process until making the dialog1 file.

And write inside dialog1.sqf following :

​

hint "this message is a test";

​

Can be applied to computer or charaters or documents for exemple

​

When you will select speak option in front-off the object or character, message will appear

​

bottom of page