AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help with get_tr2 (https://forums.alliedmods.net/showthread.php?t=216879)

terryoh 05-26-2013 16:27

Help with get_tr2
 
PHP Code:

new allsolid get_tr2(traceTR_AllSolid
new 
startsolid get_tr2(traceTR_StartSolid
// TR_StartSolid is a boolean that says whether you were "inside" something  
// (usually the world) when the trace started (point A) 
// TR_AllSolid tells you if you ever got out of the "inside" or not. 

How can I get the id of the entity that the object is inside it ?

ConnorMcLeod 05-26-2013 17:24

Re: Help with get_tr2
 
There is usually a 'ignoreEnt' param in traces functions.

terryoh 05-26-2013 17:44

Re: Help with get_tr2
 
Edit2: I found the answer after a second deeper search ... thanks anyway


All times are GMT -4. The time now is 16:19.

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