jamez_5 1 Posted October 20, 2014 Hey guys. So I figured how to use voice chat when making my mission. (trigger> voice >(message name)). However If i have msg1 play and I want to here a second message right after that what do i need to do? I tried just syncing a trigger with another trigger and it wouldn't let me? Question 2: I also want to add text when someone is talking. I added a module with category being events and module radio chat. I applied it to groups of synchronized objects. I then wrote what I wanted to say in the text field. No luck. However when i switch it to: objects in synchronized triggers I see the text in game however it shows it 4 times. (I guess one for each player in the game). How do I fix that? Question 3. In the beginning of my mission team alpha(the only team in my mission) is separate. I want them to meet at a building before they go to their first task. However since everyone in my editor is grouped together they will not spawn separate. I have their icons in the editor about 700 meters away but they still spawn next to each other. Any way to fix that? I am new to editing so sorry if I am repeating asking easy questions. Thanks for the help in advance. Share this post Link to post Share on other sites
spencer42 10 Posted October 20, 2014 (edited) 1. In the first trigger's OnAct put: [] spawn {sleep #seconds; text2=1}; Then make a second trigger with the condition: text2==1; 2. You can also put this in the trigger activation, [West,"HQ"] sideChat "Your text"; 3. In the editor, select the unit and its says 'In Formation.' If you change that to 'None' then they're placed exactly where they are in the editor, regardless of group. Alternatively you make them 2 different groups and then when they're both in the meet-up point, use the joinSilent command. Good luck! :) Edited October 21, 2014 by Spencer42 Share this post Link to post Share on other sites
jamez_5 1 Posted October 21, 2014 (edited) Can you kinda explain what [] spawn {sleep #seconds; text2=1}; is actually doing. That would be awesome. Also would the code be this [] spawn {sleep 45; text2=1}; or [] spawn {sleep #45; text2=1}; this? I am super new so trying to understand what the code is actually doing helps me a lot. Edited October 21, 2014 by jamez_5 Share this post Link to post Share on other sites
jshock 513 Posted October 21, 2014 [] spawn { sleep #seconds; text2=1; }; Basically runs the sleep command in the "background" while the game is still doing what it's doing (in parallel), #seconds is just a place holder for the number you would like to put there. What does this mean? It means that your trigger will fire once, and then wait "#" of seconds before doing the next thing, so your next audio file, next lines of text, etc. So...: [] spawn { sleep 45; text2=1; }; //<<Is correct Share this post Link to post Share on other sites
spencer42 10 Posted October 21, 2014 Cheers JShock :) Also, the spawn command does the same thing as starting a seperate script (.sqf), but since it's not a lot of code it's just simpler to run it from the init. Share this post Link to post Share on other sites