Commit Graph

10 Commits

Author SHA1 Message Date
icomrade
657fe60f26 Better maintain
Intensive commands are processed on the client only, as opposed to
twice. an array of objects, their corresponding UID and ID are sent to
the server. Sending the objects as an array, despite the size the array
can reach, should be better than the way this was set up before.

Needs testing on a full server however.
2016-08-03 19:54:06 -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
icomrade
774441ef45 Deprecated/Slow Commands
Stop using them!
2014-05-27 15:03:53 -04:00
icomrade
935ed7931d fix for name function error (untested)
17:00:15 WARNING: Function 'name' - PLAYER is dead
2014-03-25 22:01:07 -04:00
[VB]AWOL
9876b42b0a add DZE_DamageBeforeMaint default now 0.09 instead of 0.1
Also exit with message if no maintainable objects are found
2014-02-03 08:38:39 -06:00
Skaronator
eb936a78d9 Don't need a extra function because its just used in maintainArea.sqf 2014-02-01 22:52:16 +01:00
[VB]AWOL
1485569af3 only setdamage 0 if building has UID or ID 2014-01-22 09:34:47 -06:00
[VB]AWOL
3e5790dbb5 optimized to no longer send classes
Also added support for UID or ID maintain as well as a damage >= 10%
check
2014-01-22 09:32:07 -06:00
Skaronator
03b2408ae3 Update maintain to new CHILD function 2014-01-17 23:05:42 +01:00
Skaronator
678590c7ce Publish new Maintain Area (New HiveDLL is required) 2014-01-17 19:09:37 +01:00