PDA

View Full Version : Hiding a bot's weapon


Aahz
11th Sep 2001, 02:27 AM
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
12th Sep 2001, 12:52 AM
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...