I am trying to make a weapon, specifically a subclassed ShockRifle, called DiscriminatingShockRifle. All it needs to do is when alt-fired, it ONLY affects Bots. I think I have to subclass ShockProjectile and modify the ProcessTouch function. Am I close? To tell if it is a bot isn't there a isHumanControllable() function? Which classes do I need to subclass to make this work? Thanks.
Announcement
Collapse
No announcement yet.
Making VERY simple weapon
Collapse
X
Comment