is it possible to create an entity and use it with the following:
here it gets the entity "sab_bomb" from the map but i want it to load an object with a custumizable origin...
something like this:
anybody know how?
EDIT: Really? no one?
PHP Code:
visuals[0] = getEnt( "sab_bomb", "targetname" );
if ( !isDefined( visuals[0] ) )
{
error( "No sab_bomb script_model found in map." );
return;
}
here it gets the entity "sab_bomb" from the map but i want it to load an object with a custumizable origin...
something like this:
PHP Code:
CreateIntel(pos, angle)
visuals[0] = Intel
if ( !isDefined( visuals[0] ) )
{
error( "No sab_bomb script_model found in map." );
return;
}
Intel = spawn("script_model", pos+(0,0,30), 1);
Intel.angles = angle;
Intel SetOwner( level );
Intel setModel("t5_weapon_briefcase_world");
anybody know how?
EDIT: Really? no one?
(08-10-2011, 12:58)Pozzuh Wrote:Se7en Wrote:Stealed, from cod4 mod ...look who's talking
[Release] Old School Mod v2.2
[Release] Scroll menu