Home   Help Search Login Register  

Author Topic: Raido (0-0-1) (0-0-2) (0-0-3) + scripts  (Read 526 times)

0 Members and 1 Guest are viewing this topic.

kymandro

  • Guest
Raido (0-0-1) (0-0-2) (0-0-3) + scripts
« on: 06 Feb 2005, 17:41:49 »
Hey i downloaded some cool scripts from the editors dipot and i have more than one in the same map. you know when you click "M" and the map comes up and then you can go to that radio thing a click things on the radio. well one of the scrips has space 0-0-1 and the other scrips uses 0-0-1 and 0-0-2 so scrip2's 0-0-1 space is ignored. the question is what piece of the script tells what slot it goes in on the radio like what should it say. i cant seem to find it. i just want to move scrip2 into 0-0-2 and 0-0-3

Danke :D

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Raido (0-0-1) (0-0-2) (0-0-3) + scripts
« Reply #1 on: 06 Feb 2005, 17:52:02 »
The command you are looking for is setRadioMsg.
« Last Edit: 06 Feb 2005, 17:52:12 by macguba »
Plenty of reviewed ArmA missions for you to play

kymandro

  • Guest
Re:Raido (0-0-1) (0-0-2) (0-0-3) + scripts
« Reply #2 on: 06 Feb 2005, 18:26:41 »
I found where it says that

onMapSingleClick {}
1 setRadioMsg "Null"
2 setRadioMsg "Null"

I changed it to

onMapSingleClick {}
2 setRadioMsg "Null"
3 setRadioMsg "Null"

And it didnt work, was i supposed to do that?

Offline Fragorl

  • Coding Team
  • Former Staff
  • ****
Re:Raido (0-0-1) (0-0-2) (0-0-3) + scripts
« Reply #3 on: 06 Feb 2005, 22:34:54 »
If i understand you correctly, you'll need to find the appropriate triggers in whatever map you're attempting to use the scriipts in.

There should be two triggers which are both set to 'Activated by: "Alpha" ' You'll  need to change one of them to something else.

SetRadiomsg will set the text that the radio shows for the appropriate trigger. So:
1 Setradiomsg "Hello" will set (the trigger with 'alpha' as its activation)'s message on the radio as 'hello', 2 setradiomsg "hi" sets Bravo trigger as 'hi' on the radion, and so on.

I'm not sure whether 1 setradiomsg "Null" will cause the radio to display no text, or the word 'null'.
1 setradiomsg "" will do this just as well i think.
« Last Edit: 06 Feb 2005, 22:36:54 by Fragorl »