AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Angle to Entity Size Box? (https://forums.alliedmods.net/showthread.php?t=50587)

mysticssjgoku4 01-29-2007 17:39

Angle to Entity Size Box?
 
Quick question, I can't seem to find anything, but is it possible to set an angle onto the "bounding box" of an entity when it's spawned?

Code:
new storecar = create_entity("info_target")     if(!storecar)         return PLUGIN_HANDLED;     entity_set_origin(storecar,origin)     entity_set_string(storecar,EV_SZ_classname,"ts_car")     entity_set_string(storecar,EV_SZ_targetname,targetname)     entity_set_model(storecar,model)     entity_set_int(storecar,EV_INT_solid, 2)         entity_set_byte(storecar,EV_BYTE_controller1,125)     entity_set_byte(storecar,EV_BYTE_controller2,125)     entity_set_byte(storecar,EV_BYTE_controller3,125)     entity_set_byte(storecar,EV_BYTE_controller4,125)         entity_set_vector(storecar,EV_VEC_angles,angles) //Set angle to the ent size?     entity_set_size(storecar,mins,maxs)

Thanks in advance! :D

lunarwolfx 01-29-2007 17:43

Re: Angle to Entity Size Box?
 
Bounding boxes don't rotate as far as I know, but I remember Asskicr telling me that Suzuka figured out a way.


All times are GMT -4. The time now is 00:38.

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