I can't believe it happened to me.

This commit is contained in:
esteldunedain 2016-06-20 16:12:40 -03:00
parent 0d30bf1de8
commit 6df82aad55

View File

@ -20,12 +20,12 @@ if (!isNil "_dogTagData") exitWith {_dogTagData};
// Create dog tag data once for the unit: nickname, code (eg. 135-13-900) and blood type
private _dogTagData = [
[_target, false, true] call EFUNC(common,getName),
str(floor random 9) + str(floor random 9) + str(floor random 9) + "-" +
str(floor random 9) + str(floor random 9) + "-" +
str(floor random 9) + str(floor random 9) + str(floor random 9),
selectRandom ["O POS", "O NEG", "A POS", "A NEG", "B POS", "B NEG",
"AB POS", "AB NEG"]
[_target, false, true] call EFUNC(common,getName),
str(floor random 9) + str(floor random 9) + str(floor random 9) + "-" +
str(floor random 9) + str(floor random 9) + "-" +
str(floor random 9) + str(floor random 9) + str(floor random 9),
selectRandom ["O POS", "O NEG", "A POS", "A NEG", "B POS", "B NEG",
"AB POS", "AB NEG"]
];
// Store it
_target setVariable [QGVAR(dogtagData), _dogTagData, true];