PointContents
Is this usage correct?
Code:
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. |
Almost. Read the include files for correct syntax:
Code:
|
Thanks, but could you explain what CONTENTS_CLIP, the CURRENT ones, and TRANSLUCENT are? Or point me to where to find them.
|
try like this
Code:
|
I have no idea... float around in spectator mode and do a pointcontent on where you are and see for yourself.
|
Mmm...alright I'll get back to you.
|
Ooh....I can make a good "is_user_inside" with this...
|
| All times are GMT -4. The time now is 17:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.