mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Consolidate ItemKeyXXX/Colors to arrays.
Tidies up scripts inside epoch and for script creators. Moved z_at_buyItems to epoch_generateKey.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
private ["_isKeyOK","_keyColor","_keyNumber","_keySelected"];
|
||||
|
||||
// First select key color
|
||||
_keyColor = ["Green","Red","Blue","Yellow","Black"] call BIS_fnc_selectRandom;
|
||||
_keyColor = DZE_keyColors call BIS_fnc_selectRandom;
|
||||
|
||||
// then select number from 1 - 2500
|
||||
_keyNumber = (floor(random 2500)) + 1;
|
||||
|
||||
Reference in New Issue
Block a user