View Single Post
Re: HL2 plugin Weapon support
Old
  (#7)
DrEvil
Member
 
DrEvil's Avatar
 
Status: Offline
Posts: 142
Join Date: Jan 2004
Location: Los Angeles, CA
Default Re: HL2 plugin Weapon support - 30-05-2005

Ok, so CBotCmd.weaponselect is the index of the weapon in the edict list apparently. Unfortunately that doesn't help us much since I don't know of a way to get which weapons a particular player has so I could then use their index. Grr, seems this is kinda stuck until valve can give us more access, or fix the behavior of SetActiveWeapon so it doesn't create a new weapon each time or something.


Omni-bot AI framework
http://www.omni-bot.com

Foxbot - for Team Fortress Classic
http://www.foxbot.net


  
Reply With Quote