Raised This Month: $ Target: $400
 0% 

how to hide the fire spirit when bullet hit the sky?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
keyblade
Member
Join Date: Nov 2010
Location: China
Old 10-04-2011 , 10:23   how to hide the fire spirit when bullet hit the sky?
Reply With Quote #1

engfunc(EngFunc_PointContents, origin)?

how to use it?
keyblade is offline
a7811311622
Member
Join Date: Apr 2010
Old 10-05-2011 , 04:01   Re: how to hide the fire spirit when bullet hit the sky?
Reply With Quote #2

<hlsdk_const>
PHP Code:
// engfunc(EngFunc_PointContents, Float:origin) return values
#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          // Removed at csg time
#define CONTENTS_CLIP                   -8          // Changed to contents_solid
#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
#define CONTENT_FLYFIELD                -17
#define CONTENT_GRAVITY_FLYFIELD        -18
#define CONTENT_FOG                     -19 
example:
PHP Code:
if (engfunc(EngFunc_PointContentsorigin) != CONTENTS_EMPTY
__________________
a7811311622 is offline
Reply



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 19:42.


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