Hello again - spamming questions.
I have a problem with a tank i cant repair. It could be pretty simple but i cant solve it.
Here’s the situation :
TANK1 works alright - moves, can be damaged and repaired.
TANK2 moves and can be damaged, but not repaired.
After many checks :
- the two tanks systems are identical (appart from the targetnames & such of course).
- the two tanks scripts are identical (except for the paths - and script are not overlaping).
- when TANK2 gets damaged, it triggers an announcement (works), stops the tank (works), and try to “kill” the constructible : does not work.
Debugging script, the only clue i have is that when the “kill TANK2” happens, theres a warning :
“BBox entity is being linked at world origin”
I checked the .map file for inappropriate common/origin textures, checked the tank elements many times, theres no problem with the origin thing. Beside TANK1 is built the same way and works.
All in all, what i understand is that when TANK2 is damaged, its somehow not registering the fact its “ready to be built again”.
Im really lost now, any help would be welcome.