View Single Post
Re: SET_MODEL() thingy...
Old
  (#3)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: SET_MODEL() thingy... - 30-06-2004

actually i wonder what you're doing. Although i am not a sdk guru, i find this sound weird:

Code:
g_engfuncs.pfnSetClientKeyValue( entindex(), g_engfuncs.pfnGetInfoKeyBuffer( edict() ), "model", "badguy2");
followed by:

Code:
 SET_MODEL( ENT(pev), "models/player.mdl");
Ie, it looks like you first set it via an engine message, using the 'correct' model (badguy2). Then you call SET_MODEL , and that uses 'player.mdl'.

You said it works, but i wonder what SET_MODEL does then?

Just askin


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote