Dedmen Miller
81e02a7336
Refactor private ARRAY to private keyword ( #5598 )
...
* Everything
* Fixed missing ;
* Fix missing ; and double private
* Fixed cannot isNull on number
* Turn _temparture back to isNil
* Fix error from merge
2017-10-10 09:39:59 -05:00
Vdauphin
c3986b0a04
Add optional parameter useEffects for damage ( #5318 )
...
Since 1.67, you can skip destruction effects if you want to. see :
https://community.bistudio.com/wiki/setDamage and
https://community.bistudio.com/wiki/setHitPointDamage
This add an optional parameter to ace_repair_fnc_setHitPointDamage to
allow this new choice
2017-08-22 12:56:14 -05:00
Ozan Eğitmen
ff1247daef
Change "Remove Wheel" Action's Color Based on Damage ( #5415 )
...
* Change repair action's colors on wheels
* Add dots.
2017-08-10 13:32:55 +02:00
PabstMirror
f33ff4e767
Repair - Handle depends = "0" ( #5283 )
...
* Repair - Handle depends = "0"
* quote
2017-06-22 22:58:00 -05:00
commy2
05d30c5573
convert log macros to cba versions ( #4282 )
...
* convert log macros to cba versions
* Add changes to AB
* remove obsolete macro
2016-10-02 12:55:31 +02:00
commy2
e7bc2e9d62
remove deprecated code for 3.8.0 ( #4457 )
...
* remove deprecated scroll wheel event handler
* remove deprecated ace hash functions
* remove deprecated execNextFrame
* remove deprecated insertionSort
* remove deprecated getConfigType
* remove deprecated binocularMagazine
* remove deprecated wait(Until)AndExecute
* remove old ass and deprecated alternative syntax setHitPointDamage
* remove deprecated event handlers (#4459 )
* remove deprecated event handlers#
* remove ACE_newEvents
* Remove old ACE PlayerEventHandler wrappers
2016-09-24 22:31:10 +02:00
Glowbal
b489750d5b
Minor optimizations using private, params, and isEqualType ( #4323 )
...
* Optimizations with private, params, and isEqualType
* Fixed tab being used instead of space
* Fixed tabs inserted by notepad++
* More usage of new private syntax and params
- changed a few checks for an array being empty to `_arr isEqualTo []`
rather than `count _arr == 0`
- added more uses of `private` on the same line as the variable is
declared
- added more uses of params to assign variables passed as parameters
- removed unnecessary parentheses
- removed several unnecessary variable declarations with private array
syntax
* clean up and formatting
2016-09-04 16:44:22 +02:00
Ozan Eğitmen
8f80cd59c8
Use GVAR where applicable
2016-07-20 07:15:18 +03:00
jonpas
331c3c70cb
Verify and fix cargo, nametags, rearm, reload, repair, ui, Convert infoDisplayChanged in common and mk6mortar Rsc's
2016-05-24 18:58:27 +02:00
PabstMirror
f676e6d9c9
Add some more typeNames replacements
2015-11-27 21:23:27 -06:00
PabstMirror
ab769757d9
Skip Depends Hitpoints - Use HitPoints selPos for wheels
...
Stuff
Normalize Depends - Skip Glass Repair
Fix spawned wheel/track not having correct damage
getHitpointString robustness, hatchback fuelHitpoint, fix count errors
-
Formatting
local -> private
Fix Stuff
2015-11-20 21:11:50 -06:00
PabstMirror
4e93b9c72d
2307 - Repair sub-turrets
...
Privates
Cleanup debug
Add repair actions for sub turrets
Cleanup
Fix Header
Error Handling
Cleanup setHitpointDamage
Fix common ACE_isEngineer to handle scalar or bool
Claim and release repair objects (wheel/track)
Repair sub-turrets
2015-11-20 21:11:05 -06:00
jonpas
701c98e0da
Cleaned up repair function headers and some code
2015-08-16 20:14:54 +02:00
Glowbal
872d026cd0
All repair actions are now functional
2015-08-09 17:23:32 +02:00
PabstMirror
4b603ff46f
Localization, params
2015-08-09 01:54:44 -05:00
commy2
26ece1af93
ignore selectionless hitpoints, dependand hitpoints and glass when averaging the total damage after repairing a hitpoint
2015-03-12 00:59:04 +01:00
commy2
45e79dcbbf
normalize dependant hitpoints after repairing
2015-03-11 23:53:08 +01:00
commy2
fa10d1fd6b
some basic function to manipulate structural and hit point damage
2015-03-10 19:42:21 +01:00