Hiding a bot's weapon

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Aahz

New Member
Aug 17, 2001
8
0
0
communities.msn.com
From a subclass of bot, how does one hide the currently-selected weapon? I'm up for anything as I've tried quite a bit. There are a few settings in Weapon which look helpful, but they don't seem to work in-game - bHidden and bHideWeapon. Any ideas?
 

ca

CHiMERiC Grandmaster
Oct 11, 1999
84
0
0
www.unrealscript.com
Well, why not just do something like:

if (Weapon != None)
{
Weapon.DownWeapon(); // i think this function, that or PutDown()
Weapon = None;
}

And then try to find wherever the bot decides when to bring up a new weapon and override it...