"Ich sage <null>" kommt deswegen, weil die Variable _text nicht deklariert ist!
Schreib mal deine Nachricht.sqf so um:
Code:
_wahl = _this select 0;
Nachricht = switch (_wahl) do {
Case 1: {text = "eins"};
Case 2: {text = "zwei"};
Case 3: {text = "drei"};
Case 4: {text = "vier"};
Case 5: {text = "fünf"};
};
Und deine Reden.sqs:
Code:
_wahl = _this select 0;
temp = [_wahl] call Nachricht;
Hint format ["Ich sage %1",text];
Gibt natürlich auch noch andere Lösungsmöglichkeiten. Dies aber eine davon