TheGameCreators / GameGuruRepo

The GameGuru Repository For Community Collaboration
http://www.game-guru.com
137 stars 56 forks source link

Support for Projectile Elements Firing From Weapons ("track projectile explosion event") #3485

Open AmenMoses opened 2 years ago

AmenMoses commented 2 years ago

In global.lua we have:

-- Globals to track projectile explosion event g_projectileevent_explosion = 0 g_projectileevent_name = "" g_projectileevent_x = 0 g_projectileevent_y = 0 g_projectileevent_z = 0 g_projectileevent_radius = 0 g_projectileevent_damage = 0 g_projectileevent_entityhit = 0

I'm pretty sure these used to get updated for RPG hits and possibly for grenades (not sure about exploding entities though).

But no matter what I try in Classic or MAX these globals always seem to be 0.

Has this functionality been removed?

AmenMoses commented 2 years ago

Aha, it actually works with exploding barrels (which aren't projectiles) but not with grenades or RPG rounds (which are projectiles).

How strange.

LeeBamberTGC commented 11 months ago

@AmenMoses Related to a few other issues connected with firing projectile elements from a weapon in MAX, not presently supported but will be added for the new weapon system soon.