From Valve Developer Community
Revision as of 13:46, 12 July 2008 by Mflux (talk | contribs)

Jump to: navigation, search


What do these ints / floats mean inside the sendprops?

 Example: SendPropVector( SENDINFO( m_vecStartPosition ), 0, SPROP_NOSCALE ), 

What does 0 stand for here? Did I miss something? --Mflux 06:38, 9 Jul 2008 (PDT)

If you move your cursor to the list of arguments and hit ctrl+space, Visual Studio will tell you what each one means. --TomEdwards 06:44, 9 Jul 2008 (PDT)
Hi Tom, thanks for the tip. It tells me what each one is, but not what it means. For example.. from SendPropInt
 	int offset,
 	int sizeofVar,
 	int nBits,
 	int flags,
What is offset? Offset what? How can I tell size of Var? What is it for? What are the nBits? What is it for and why would I use it? --Mflux 06:46, 12 Jul 2008 (PDT)