mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
I can't believe it happened to me.
This commit is contained in:
parent
0d30bf1de8
commit
6df82aad55
@ -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
|
// Create dog tag data once for the unit: nickname, code (eg. 135-13-900) and blood type
|
||||||
private _dogTagData = [
|
private _dogTagData = [
|
||||||
[_target, false, true] call EFUNC(common,getName),
|
[_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) + "-" +
|
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",
|
selectRandom ["O POS", "O NEG", "A POS", "A NEG", "B POS", "B NEG",
|
||||||
"AB POS", "AB NEG"]
|
"AB POS", "AB NEG"]
|
||||||
];
|
];
|
||||||
// Store it
|
// Store it
|
||||||
_target setVariable [QGVAR(dogtagData), _dogTagData, true];
|
_target setVariable [QGVAR(dogtagData), _dogTagData, true];
|
||||||
|
Loading…
Reference in New Issue
Block a user