View Single Post
Re: How to detect entity [properties] ?
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: How to detect entity [properties] ? - 26-05-2004

I don't know... are you talking about the entity's infobuffer ?

Look in some CS bot source code for the function that tells which team a bot is on. It calls the infobuffer and retrieves the "model" field. You may use the same method I believe. (curious, though, as I believed only game clients could have infobuffers ?)



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote