Jump to content
Wyqer

Get damage on a destrType = "DestructNo"

Recommended Posts

Hi there,

I just wanted to ask, if there is any way to change the destrType of an object via a script (guess not) without creating a new class via a mod or something.

Background:

I want to check if the object "B_CargoNet_01_ammo_F" get damage (by MPKilled or MPHit Event Handler). As that object has the destrType DestructNo it won't get any damage to fire one of the event handlers. Does anyone know a way how to catch damage on an object like that?

The "Box_NATO_AmmoVeh_F" for example has destrType = "DestructBuilding", so MPKilled and MPHit works great.... but yeah, I hope there is a way to get it working with the "B_CargoNet_01_ammo_F"

 

Thanks in advance.

Share this post


Link to post
Share on other sites

I guess those destrType is a variable from objects config file? In this case you cant change it without a mod.

you can check for "damage" by tracking and analyzing nearby bullets, vehicles, objects or whatever.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×