Page MenuHomeFeedback Tracker

EH HitPart Problem
New, NormalPublic

Description

I've come across a problem where using the EH "HitPart" on some buildings doesn't return a selection when it's doors are hit, it only returns "Any".

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Config
Steps To Reproduce

In-game, point the cursor at one of the buildings listed below and run this code from the console:

cursorObject addEventHandler ["HitPart",{
	((_this select 0) select 0) params ["_building"];
	((_this select 0) select 5) params ["_door"];
	systemChat format["%1 |-| %2",_building,_door];
}];

Then shoot a door to see the results.

Additional Information

I may have missed some, but working my way through "Structures (Altis/Malden/Tanoa)" I found that these doors were not returning their doors when hit:

  • Land_Airport_Tower_F
  • Land_Offices_01_V1_F
  • Land_CarService_F
  • Land_FuelStation_02_workshop_F
  • Land_Carrier_01_base_F (The Destroyer's doors worked though)

Event Timeline

beno_83au created this task.Nov 7 2018, 6:29 AM

Very odd indeed.
Related topic: https://forums.bohemia.net/forums/topic/220195-using-hitpart-on-land_carservice_f-problem/?tab=comments#comment-3322946
As mentioned in one of my posts, I believe some of the building configs are not configured correctly.

beno_83au edited Steps To Reproduce. (Show Details)Nov 7 2018, 8:29 AM