1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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.

Hiding a bot's weapon

Discussion in 'Programming' started by Aahz, Sep 11, 2001.

  1. Aahz

    Aahz New Member

    Joined:
    Aug 17, 2001
    Messages:
    8
    Likes Received:
    0
    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?
     
  2. ca

    ca CHiMERiC Grandmaster

    Joined:
    Oct 11, 1999
    Messages:
    84
    Likes Received:
    0
    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...
     

Share This Page