View Issue Details

IDProjectCategoryView StatusLast Update
0008990New Feature Requests[All Projects] Generalpublic2017-06-18 20:56
ReporterGallardo9944Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Summary0008990: [Request] Ability to fix vehicle's visuals without affecting health
Description

It would be nice to have an ability to fix (or preserve) vehicle's appearance without affecting health.

The function could look like this:

fixVehicle ( vehicle theVehicle, [ onlyVisuals = false ] )

or

setVehicleVisuallyDamagable( vehicle theVehicle, [ state = true ] )

TagsNo tags attached.

Activities

einheit-101

2015-08-09 18:53

reporter   ~~0023887

Can be done with scripting:
local health = getElementHealth(veh)
fixVehicle(veh)
setElementHealth(veh, health)

Gallardo9944

2015-08-09 18:56

viewer   ~~0023888

That's right, already doing it like that, but it is a very dirty workaround.

Well, there is a function to keep doors undamagable, so there could be an option to keep the entire car visually undamagable too.

lopezloo

2015-08-09 19:07

developer   ~~0023889

If you really want avoid setting health you can use setVehiclePanelState.

Issue History

Date Modified Username Field Change