Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Config
- _box = "USBasicAmmunitionBox_EP1";
- _requireditemsf = [];
- _requireditemsh = [];
- _requireditemsb = [];
- // End Config
- _countbox = count nearestObjects [player, _box, 3];
- if (_countbox) then {
- if (_requireditemsf in magazines _box) then {
- player AddAction ["Build Fortress","script"];
- };
- if (_requireditemsh in magazines _box) then {
- player AddAction ["Build Hero","script"];
- };
- if (_requireditemsb in magazines _box) then {
- player AddAction ["Build Bandit","script"];
- };
Advertisement
Add Comment
Please, Sign In to add comment