Hello, I'm working on a mod where you can only have one primary weapon and one secondary weapon at a time. The secondary guns will all share the same buckets in the scripts files so only one can be used at a time. I'm working on a modified DropActiveWeapon function:
void CHL2MP_Player::DropActiveWeapon( void ) { Vector VecForward; VecForward *= 300.0f; BaseClass::Weapon_Drop (GetActiveWeapon(), NULL, &VecForward ); } On that last line, what can I put instead of GetActiveWeapon() to get the current weapon in a specific bucket? I want it to call that bucket each time so that even if your primary (non changing) weapon is out, it'll drop the other weapon whenever I need to DropActiveWeapn(). Any ideas would be greatly appreciated. Thank you, Joshua
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders