Raised This Month: $ Target: $400
 0% 

Check for two entities


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AngeIII
Senior Member
Join Date: Sep 2007
Location: Latvia
Old 07-20-2010 , 06:25   Re: Check for two entities
Reply With Quote #1

thanks Spunky you realy help me ;)

FEELiFE -> this function check what "content" at a origins what you writen in.

engine:
PHP Code:
point_contents(origins
fakemeta:
PHP Code:
#define fm_point_contents(%1) engfunc(EngFunc_PointContents, %1) 
return this values:
PHP Code:
hlsdk_const.inc
// 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 
AngeIII is offline
Send a message via Skype™ to AngeIII
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 07:03.


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