Raised This Month: $ Target: $400
 0% 

Sometimes it throws sometimes not!!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HENNESSY
Member
Join Date: Sep 2013
Location: Russian Federation, Bela
Old 10-12-2014 , 06:32   Re: Sometimes it throws sometimes not!!
Reply With Quote #3

Quote:
Originally Posted by HamletEagle View Post
Show us the full code. I can think only that you are trying to drop too fast or whatever and the entity is somehow not valid at this point. I can't see something wrong.
Code:
iEnt = create_entity( "info_target" );           if( !is_valid_ent( iEnt ) )     {         return;     }

Your code basically create another entity, set to it the knife model, set a size so it will be solid and you can touch it, and then set a velocity on this entity. The entity is not created or the velocity is not set ?
i checked that out by adding some debug messages to the code.

the result is that the entity is created successfully tough the knife isn't thrown.
HENNESSY 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 17:44.


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