|
|
|
|
Re: new c_trace function
[Re: Stansmedia]
#149088
08/19/07 23:16
08/19/07 23:16
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
From the mighty manual Quote:
SCAN_TEXTURE Retrieves the texture name, vertex number, flags, brightness and light color of the hit surface. Mutually exclusive with USE_BOX. The predefined string tex_name and the variables hitvertex, tex_flag1..tex_flag8, tex_light, tex_color and tex_fog are modified according to the hit object (see below). If nothing was hit, tex_name and the other parameters are not set. The texture name can be used to check the kind of floor below an entity.
Always learn from history, to be sure you make the same mistakes again...
|
|
|
Re: new c_trace function
[Re: Uhrwerk]
#149091
08/28/07 09:22
08/28/07 09:22
|
Joined: Jul 2000
Posts: 8,973 Bay Area
Doug
Senior Expert
|
Senior Expert
Joined: Jul 2000
Posts: 8,973
Bay Area
|
Quote:
Why would you wanna do that if you just had to set a flag before calling c_trace?
Because some people can't read the manual text? 
The 3DGS manual is written using special pixels that only a few people can actual see (consider yourself lucky). 
|
|
|
|
|
|
|