Jump to content

Oscah

Member
  • Content Count

    9
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About Oscah

  • Rank
    Private
  1. Hi all, I'm sure I saw how to script this atleast once in this thread sometime back but I can't seem to find it. How would someone add money every-time you would search an enemy body or kill an enemy on the map? Also, is there anyway to change the currency type showing in game for example changing $ to RU or something similar.
  2. Hi all, Here is the screenshot https://puu.sh/BBsQ7/8e5eabfa58.png
  3. Hi all, Another problem, I'm trying to get all the sounds to play, I've added CFGSound to this line of code and now I cannot get anything to fire. Can anyone see the problem with this code? class CfgRadio { sounds[] = {mes1,mes2}; class mes1 { name = "mes1"; sound[] = {"SS\mes1.ogg", db+0, 1.0}; title = "What the fuck is going on! Iowa?, Iowa we require the choppers here, choppers here now please... I can see them! We've got 20 boys down here, tell them to get over here."; }; class mes2 { name = "mes2"; sound[] = {"SS\mes2.ogg", db+0, 1.0}; title = "They can hear you Igla... Go-on tell them what you think of them, it'll change squat. We cannot move these for your boys. I'll see where column is. Stand-by."; }; class CfgSounds { sounds[] = {Monster1}; class Monster1 { name = "Monster1"; sound[] = {"SS\Monster1.ogg", db+20, 1, 1}; titles[] = {""}; }; };
  4. That worked! Will this play for everyone in the game? we don't usually play via server at the moment. Say if I wanted to play a normal CFGsound after with no radio chat. Could I just add on a CFGsounds line to the bottom of the radio script?
  5. Thanks guys, it's starting to fire in sequence. Only problem I'm having now is that is it duplicating the same speech line and sound twice before firing the next. This is my trigger; [this] exec "RadioWarning.sqf", 0 = [] spawn { Iglov1 sideRadio "mes1"; sleep 12; Iowa1 sideRadio "mes2"; }; (If I take out the exec "radiowarning" the side radio works fine, but no sound is played.)
  6. Just confirming, is this in the script menu? I've entered in your suggestion and the game is still throwing up "Generic Expression in..." and sometimes the mission is still playing both at the same time?
  7. Hello all, I'm having a bit of an issue and a fair few scripting woes at the moment and to be honest I have no idea what I'm doing wrong. I'm trying to make a mission where the players pick up an items, it disappears and then CFGradio kicks in. (The picking up is fine, I've sorted that.) The problem comes when I tell this trigger to activate my script, which has the following lines in; Iglov1 sideRadio "mes1"; Iowa1 sideRadio "mes2"; (Both units are named as such in game.) This fires up my script which has the Radio play sound for each of the dialog. The problem comes when sometimes one sound plays and both radio messages activate at the same time, I've tried using (SLEEP 12;) to no effect, it throws up errors everytime I try, what I NEED it to do is play one sound for one radio message and then another sound for another radio message a couple of seconds after. (TLDR, the sounds do play occasionally, the radios actually come on screen. Just both at the same time and sometimes it's only one sound rather than two.) Here is my CFGradio file; class CfgRadio { sounds[] = {mes1,mes2}; class mes1 { name = "mes1"; sound[] = {"SS\mes1.ogg", db+0, 1.0}; title = "What the **** is going on! Iowa?, Iowa we require the choppers here, choppers here now please... I can see them! We've got 20 boys down here, tell them to get over here."; }; class mes2 { name = "mes2"; sound[] = {"SS\mes2.ogg", db+0, 1.0}; title = "They can hear you Igla... Go-on tell them what you think of them, it'll change squat. We cannot move these for your boys. I'll see where column is. Stand-by."; }; }; Second Query - Is it possible to use both CFGSound and CFGradio? I'm looking at putting a scream a few seconds after the players have picked up the items and both radio messages have played, should I use CFGradio for this? Or should I use sound? Please help me oh merciful community, I'm tearing my hair out trying to figure this one out.
×