Commit Graph

36 Commits

Author SHA1 Message Date
ebayShopper
4bf4c62b1d Make free slots display more accurate in gear
Use the cursorTarget at the time the gear dialog was opened instead of
the cursorTarget at the time the script runs. The script can be delayed
by several seconds (spawn is scheduled).
2017-04-14 17:18:16 -04:00
ebaydayz
dd721ec572 Fix issue with tag friendlies #1807 2016-12-06 12:12:38 -05:00
ebaydayz
ea389b59ea Remove unneeded isKindOf "Man" checks
"Man" includes animals and zombies:

https://community.bistudio.com/wiki/ArmA_2:_CfgVehicles#Man_Class_Vehicles
2016-11-23 14:43:59 -05:00
ebaydayz
81013ace75 Fix gear menu bypass mistake from 89078d1 2016-11-13 15:02:36 -05:00
ebaydayz
89078d1611 Fix abort and gear menu staying open at same time 2016-11-13 14:49:04 -05:00
ebaydayz
88870a6b2a Sync closeDisplay exit codes for easier scripts.txt filtering 2016-11-11 14:48:41 -05:00
icomrade
b25b7636a7 Direct menu to cursortarget or player
Please test the living hell out of this.
2016-10-07 13:46:53 -04:00
icomrade
5381748c63 better gear menu check
should be less annoying
2016-10-05 20:13:26 -04:00
icomrade
1b91e808dd remove unused variable 2016-09-29 15:59:52 -04:00
icomrade
e49d786e2a Fix gear access on locked vehicles
This will be annoying in bases for sure, but cursorTarget just doesn't
work reliably.
2016-09-29 15:58:28 -04:00
ebaydayz
16f17aafee Revert "Don't call player_forceSave when gear menu is aborted"
This reverts commit 91e312fdc7.
2016-08-29 12:05:50 -04:00
ebaydayz
91e312fdc7 Don't call player_forceSave when gear menu is aborted
https://github.com/EpochModTeam/DayZ-Epoch/issues/1712#issuecomment-242992472
2016-08-28 16:18:53 -04:00
ebaydayz
134a614255 Remove FNC_getPlayerUID
It's been over two years since it was added. All servers should be
updated to steam ID by now.
2016-08-23 15:40:26 -04:00
ebaydayz
01d8197d12 Remove redundant function fn_check_owner_friends
Fn_check_access provides the same functionality and more.

Removed folders that only contained a single file to clean things up.

Also added epoch tag friendly code to vanilla player_updateGui for now.
2016-06-15 20:09:04 -04:00
ebaydayz
f900ee4520 Add isInTraderCity to BackpackAntiTheft check 2016-05-05 11:39:18 -04:00
ebaydayz
d361abaec3 Fix Adv Trade localized string spacing 2016-05-02 19:51:48 -04:00
ebaydayz
5157228e67 Update all cutText to dayz_rollingMessages 2016-04-16 15:47:49 -04:00
ebaydayz
e2e6e79394 Minor formatting cleanup 2016-03-21 17:58:23 -04:00
ebaydayz
3113889a98 Update fn_selfActions
See also:
https://github.com/DayZMod/DayZ/pull/645
2016-03-15 22:15:38 -04:00
ebaydayz
03353b9483 Add lock and unlock vehicle from inside
See: #1103
Made vehicle gear always accessible from inside.

Also added optional variable to prevent stealing from backpacks by
non-friendlies at traders.  Thanks to @maca134 for the method.
2016-02-24 20:56:13 -05:00
Wargog
0c3173826e Done, pull please. 2014-09-03 09:40:36 -04:00
Wargog
1c2511bc55 Maybe? 2014-08-30 12:24:02 -04:00
Wargog
5a54f26c4d I didn't do that 2014-08-30 12:20:54 -04:00
Wargog
6bddf7513e Fixed AWOL's pointer 2014-08-28 14:17:43 -04:00
Wargog
064d50778a Should fix #1555 2014-08-28 13:59:22 -04:00
icomrade
6f0470f598 Fix #1364
Holy shit it was accessible from 25 meters!
2014-06-30 17:46:56 -04: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
Zac Surplice
7e2b6febd0 localization #1 2013-11-06 16:37:51 +11:00
[VB]AWOL
af4b876cde private arrays part 1 2013-10-22 09:10:27 -05:00
dayz10k
1e5e3c7d21 Update fn_gearMenuChecks.sqf
#606
2013-10-21 14:31:22 -04:00
zabn
1bb2fefa47 Update fn_gearMenuChecks.sqf 2013-10-09 10:29:21 +11:00
Zac Surplice
8c9ff65a97 vehicle gear lock optimisations 2013-10-07 11:16:32 +11:00
[VB]AWOL
ff256dd234 1.0.2.37 DEV 2013-09-28 21:46:51 -05:00
[VB]AWOL
2d65f9e950 fixes plus podagorsk support 2013-09-27 16:29:21 -05:00
Zac Surplice
515e0d1d56 little fixes, (typo, distance change) 2013-09-24 21:43:41 +10:00
Zac Surplice
06ed1fc10c No gear menu near locked vehicles 2013-09-24 21:40:28 +10:00