Raised This Month: $ Target: $400
 0% 

Entity question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
XAT
Member
Join Date: Jul 2011
Old 07-09-2012 , 11:44   Entity question
Reply With Quote #1

Any way to create func_breakable / func_wall visible entity with custom size and material like DispatchKeyValue ? ( NOT a model )

I've created something like this but it isn't visible and touchable, in other words, dosen't exist.

PHP Code:
new entity_id create_entity("func_breakable");
    
DispatchKeyValue(entity_id"targetname""test_ent");
DispatchKeyValue(entity_id"material""2");
DispatchSpawn(entity_id);

entity_set_size(entity_idFloat:{ -20.0, -20.0, -20.0 }, Float:{ 20.020.020.0 });
entity_set_origin(entity_idblabla... some origin here); 
I can only kill it and see the death animation

PHP Code:
dllfunc(DLLFunc_Useentity_id0); 
XAT is offline
 



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 15:14.


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