Raised This Month: $ Target: $400
 0% 

PointContents


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 09-24-2004 , 16:13   PointContents
Reply With Quote #1

Is this usage correct?
Code:
new Float:origin[3],contents origin = {0.0,0.0,0.0} //just random contents = PointContents(origin)

So contents would equal these numbers?:

Contents Constants

#define CONTENTS_EMPTY -1
#define CONTENTS_SOLID -2
#define CONTENTS_WATER -3
#define CONTENTS_SLIME -4
#define CONTENTS_LAVA -5
#define CONTENTS_SKY -6
#define CONTENTS_ORIGIN -7
#define CONTENTS_CLIP -8
#define CONTENTS_CURRENT_0 -9
#define CONTENTS_CURRENT_90 -10
#define CONTENTS_CURRENT_180 -11
#define CONTENTS_CURRENT_270 -12
#define CONTENTS_CURRENT_UP -13
#define CONTENTS_CURRENT_DOWN -14
#define CONTENTS_TRANSLUCENT -15
#define CONTENTS_LADDER -16

Thanks in advance.
__________________
twistedeuphoria is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode