Commit Graph

17 Commits

Author SHA1 Message Date
ebaydayz
5157228e67 Update all cutText to dayz_rollingMessages 2016-04-16 15:47:49 -04:00
ebaydayz
110befba7f Swap bloodbags in traders and loot for classic system 2016-04-15 16:11:17 -04:00
ebaydayz
03b8c38c6a Add new items to config traders
Duplicate categories are now marked instead of being listed multiple
times. This makes the configs far easier to maintain. Admins can still
expand each individual category for further customization.
2016-04-06 13:05:35 -04:00
ebaydayz
e2e6e79394 Minor formatting cleanup 2016-03-21 17:58:23 -04:00
icomrade
c3ed4e49e1 Replace sleep with uiSleep
see the below links for more info. uiSleep is based off of a more
accurate method of tracking time, whereas sleep can fluctuate depending
on application performance since it is based on framerate.
https://community.bistudio.com/wiki/uiSleep
https://community.bistudio.com/wiki/sleep_vs_uiSleep
https://community.bistudio.com/wiki/sleep
2016-02-17 13:03:17 -05:00
ebaydayz
de4f50dad0 Fix trader menu expected array error
TraderItemList and TraderCatList should be initialized as arrays, not numbers. Fixes this error:
```
Error in expression < 0;
if (_index < 0) exitWith {};
while {count TraderItemList < 1} do { sleep 1; >
  Error position: <count TraderItemList < 1} do { sleep 1; >
  Error count: Type Number, expected Array,Config entry
File z\addons\dayz_code\compile\player_traderMenuHive.sqf, line 174
```
See: https://github.com/vbawol/DayZ-Epoch/issues/1616

Tested buying and selling to all Stary and Bash traders as well as the boat dealer with these changes. No more error or problems.
2015-02-04 14:09:16 -05:00
[VB]AWOL
c2f216dac8 count not working well here 2014-06-01 02:10:26 -05:00
icomrade
e54b9983dd Replace forEach with Count
Use count where you do not need _forEachIndex variable, it's quicker
than forEach.
2014-05-27 15:37:57 -04:00
Florian Kinder
542be82a58 Added trade_any_vehicle_free
For buy unlocked vehicles (without getting a key)
2014-02-06 12:39:17 +01:00
Skaronator
cdc062a833 Better Movement in Trader Menu, just for config 2014-02-06 11:56:03 +01:00
[VB]AWOL
8fa82911ef changed to missionConfigFile and commented out include
an
2014-02-04 14:33:41 -06:00
[VB]AWOL
5308ddcf1a faster no need for loading... 2014-02-04 14:13:41 -06:00
[VB]AWOL
731bc92be2 working 2014-02-04 14:11:49 -06:00
[VB]AWOL
37b75bea61 missed bracket 2014-02-04 13:23:20 -06:00
[VB]AWOL
a77a43d88f get trader items from config 2014-02-04 12:50:58 -06:00
Skaronator
d71bb45de3 Something like this to get CfgVehicle/Weapon/Magazine 2014-02-04 19:02:29 +01:00
Skaronator
171952e922 Start with ConfigTrader 2014-02-04 17:16:32 +01:00