for the part where it doesn't disappear on death, if you haven't already figured it out, add something like this:
self thread killBettyOnDeath(betty, jumptrigger, trigger);
self thread...
for the part where it doesn't disappear on death, if you haven't already figured it out, add something like this:
self thread killBettyOnDeath(betty, jumptrigger, trigger);
self thread...
So its fixed now?
Yes, probably the sighttracing part is missing then.
Or maybe its an unintended bug in [insert newest cod here]
Just check if the user is looking at the betty the moment it explodes. Keep the sighttracing out of the damage callbacks.
vpoint = point on body that gets hit
vdir = direction in which the player...
No no, what I mean is that you exclude the players who are beneath the betty.
players = getentarray("player", "classname");
for(i = 0; i < players.size; i++)
{
...
Check the getstance of the affected players and return 0 if they are not standing
just bullettrace downwards and plant on trace["position"], optionally with trace["normal"] with vectortoangles() for angles