Raised This Month: $ Target: $400
 0% 

Angle to Entity Size Box?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 01-29-2007 , 17:39   Angle to Entity Size Box?
Reply With Quote #1

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!
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
lunarwolfx
Member
Join Date: Feb 2005
Old 01-29-2007 , 17:43   Re: Angle to Entity Size Box?
Reply With Quote #2

Bounding boxes don't rotate as far as I know, but I remember Asskicr telling me that Suzuka figured out a way.
lunarwolfx is offline
Reply


Thread Tools
Display Modes

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 00:38.


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