Quote:
Originally Posted by HamletEagle
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.