when trying to apply setHit or setHitPointDamage to the civilian SUV or hatchback in the init or the command prompt in game it does not function at all.
Description
Description
Details
Details
- Legacy ID
- 4284012470
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
place hatchback or civilian SUV on map name the car "car1", add character, type "car1 setHitPointDamage["motor", 0.55]" in the init.... preview the game, no damage, type the same command in the in-game editor... same thing
Event Timeline
Comment Actions
setHit takes selection, setHitPointDamage takes hitpoint,
so it is either setHit ["motor"... or setHitPointDamage ["hitEngine....
In fact for SUV it is
car setHit ["engine", 1]
or
car setHitPointDamage ["hitengine", 1]
Also make sure vehicle is local to the comp where command is executed
Comment Actions
Use command getAllHitPointsDamage for Hitpoints and Selections.
For disable Engine for SUV u need execute obj setHit ["engine", 1];
As example: vehicle player setHit ["engine", 1];