Hab gerade nach ewigem stöbern eine echt super variante für eine Geiselsituation gefunden.
Der ein oder andere kann damit bestimmt was anfangen
Zitat:
Make a temporary radio trigger:
Activation: Radio Alpha, Repeatedly
OnAct: if (isnil "p") then {p = []}; p set [count p,getposasl player]; copyToClipboard str p
Hit preview and go run around, visit each possible hostage position and on them use the trigger. After you've done that, go into Notepad, or whatever text editor and hit paste. You should get a line with alog of numbers, something like this:
[[3460.97,3589.02,19.0014],[3449.96,3595.83,19.0014],[3445.34,3612.19,19.0014]]
Put this into the hostage's init field. Just don't forget to replace the example array of numbers with your own:
Code:
if isserver then {
private ["_pos","_arr"];
_arr = [[3460.97,3589.02,19.0014],[3449.96,3595.83,19.0014],[3445.34,3612.19,19.0014]];
_pos = _arr select floor random count _arr;
this setposasl _pos;
};
Der Dank geht an
anarcho
Quelle
__________________
My Youtube Channel
"Before you diagnose yourself with depression or low self esteem,
first make sure you are not, in fact, just surrounded by assholes!"
William Gibson