Hello again, forum members. I am trying to delete some entities after collision with an area.
The entites im trying to delete are these:
A monster.
Some storage boxes.
A closet.
So far, I've only been able to delete the closet. It seems that it is incapable of deleting the storage box entities, I've tested this by changing the entity file of one of the boxes to a closet.
As for the monster, he deactivates, but does not disappear.
--------------------------------------
The script for the boxes and closet:
SetPropActiveAndFade("", false, 0.1);
----------------------------------------------
The script for the monster:
SetEnemyDisabled("", true);
----------------------------------------------
Now, I am hoping you guys will be able to guide me on how to do these things correctly? thanks.