Torhec 16 Posted July 5, 2015 Hi everybody! I'm having troubles with the sideChat. I want to make a simple dialogue between two units, called police_player and police_driver_car_start, but something goes wrong. In the init field of each unit I put "group this setGroupId ["Police captain"];" and "group this setGroupId ["Passenger"];". First I used triggers with delays and "true" in the condition field, but some sentences weren't said :confused:. So I decided to do it in a simple dialogue.sqf script (executed on the init.sqf) but still having the same problem :mad:. Here is the code: /* Dialogue script by Hector Corral ------------------ Between player and characters */ // Dialogue in the car sleep 5; police_player sideChat "I can't believe it..."; sleep 3; police_driver_car_start sideChat "What captain?"; sleep 3; police_player "That they succeed to capture the president."; sleep 5; police_driver_car_start sideChat "Yes it's really surprising when you see all the security in the site."; sleep 8; police_player "Those terrorists must be terrifically well equipped."; sleep 20; police_driver_car_start sideChat "And why NATO peacekeepers did not intervene?"; sleep 8; police_player "This is simply not their role, they are just here to protect the population, not to prevent coups d'état."; Thank you in advance. Share this post Link to post Share on other sites
CSLALUKI 30 Posted July 5, 2015 Hi HellKiller! First, I never used sideChat for the dialogs between players (excluding dialog between HQ and player). Try to use titleText, it looks better like sideChat. :) ... and now the script error ... Why are you complicating it? :rolleyes: Simply use init.sqf (if the dialog is after start). Paste this code in your init.sqf: /* Dialogue script between player and characters by Hector Corral Modified by LUKI */ sleep 5; titleText ["I can't believe it...","PLAIN DOWN"]; sleep 3; titleText ["What captain?","PLAIN DOWN"]; sleep 3; titleText ["That they succeed to capture the president.","PLAIN DOWN"]; sleep 5; titleText ["Yes it's really surprising when you see all the security in the site.","PLAIN DOWN"]; sleep 8; titleText ["Those terrorists must be terrifically well equipped.","PLAIN DOWN"]; sleep 20; titleText ["And why NATO peacekeepers did not intervene?","PLAIN DOWN"]; sleep 8; titleText ["This is simply not their role, they are just here to protect the population, not to prevent coups d'état.","PLAIN DOWN"]; Share this post Link to post Share on other sites
R3vo 2654 Posted July 5, 2015 /* Dialogue script by Hector Corral ------------------ Between player and characters */ // Dialogue in the car sleep 5; police_player sideChat "I can't believe it..."; sleep 3; police_driver_car_start sideChat "What captain?"; sleep 3; police_player [color="#FF0000"]sideChat[/color] "That they succeed to capture the president."; sleep 5; police_driver_car_start sideChat "Yes it's really surprising when you see all the security in the site."; sleep 8; police_player [color="#FF0000"]sideChat[/color] "Those terrorists must be terrifically well equipped."; sleep 20; police_driver_car_start sideChat "And why NATO peacekeepers did not intervene?"; sleep 8; police_player [color="#FF0000"]sideChat[/color] "This is simply not their role, they are just here to protect the population, not to prevent coups d'état."; You simply forgot to add sideChat to some lines ;) Share this post Link to post Share on other sites
Torhec 16 Posted July 5, 2015 (edited) LUKI;2962565']I never used sideChat for the dialogs between players (excluding dialog between HQ and player). Try to use titleText' date=' it looks better like sideChat. :)[/quote']The problem with titleText is that you can't see who is talking and you can't see previous messages, and then I don't find it prettier. LUKI;2962565']Why are you complicating it? :rolleyes: Simply use init.sqf (if the dialog is after start). I prefer to use multiple .sqf files because I'm making a very huge mission with tones of scripts so it's better to make separations' date=' and using only the init in order to execute other scripts. But thank you for this answer that works, even if it's not what I'm looking for! You simply forgot to add sideChat to some lines ;) It's often the most stupid mistakes that are hard to find ;) Thank you so much! Edited July 5, 2015 by HELL-KILLER-Fr Share this post Link to post Share on other sites