AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   TE_BOX question (https://forums.alliedmods.net/showthread.php?t=20349)

Cheap_Suit 11-06-2005 21:18

TE_BOX question
 
Code:

#define TE_BOX                                31
// coord, coord, coord                boxmins
// coord, coord, coord                boxmaxs
// short life in 0.1 s
// 3 bytes r, g, b

// coord, coord, coord boxmins
// coord, coord, coord boxmaxs
What are this 2?

Batman/Gorlag 11-06-2005 22:03

Those two determine the size of the box.

Because |Min| + |Max| = size.

Cheap_Suit 11-06-2005 22:14

what about the coord for the origin of the box?

Batman/Gorlag 11-06-2005 22:29

Code:
message_begin( dest, msg_type, origin[3]={0,0,0},player=0);

You can put the origin in there.

Cheap_Suit 11-06-2005 22:44

ok thnx. I need this in the future.


All times are GMT -4. The time now is 23:58.

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