Script that encodes plain text into Morse and vice versa, and plays the sounds too.
Encode a text:
morsestring=["Encode"] call CLY_morse; hintSilent format ["%1",morsestring];
Decode a Morse transmission:
morsestring=["-.. . -.-. --- -.. ."] call CLY_morse; hintSilent format ["%1",morsestring];
Play Morse code sound:
morsestring=["This should play a sound.",objNull,2] call CLY_morse;
It comes with a mission as a demo version. Extract the folder to your ArmA2\other Profiles\Yournick\Missions and load it in the editor.
CLY_morse=compile preprocessFile "cly_morse.sqf";
- BI forums