entity(location,model,angles,solid,linkit)
{
entity = spawn("script_model", location);
entity setModel( model );
entity.angles = angles;
if(model=="com_plasticcase_enemy" || model=="com_plasticcase_friendly")entity CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
if(solid==true)entity solid();
if(linkit==true)entity EnableLinkTo();
return entity;
}
entity(<Location>,<Model Name>,<Angles>,<Solid>,<Enable Link>
;
<variable Name>=entity(<Location>,<Model Name>,<Angles>,<Solid>,<Enable Link>
;
<Variable Name> MoveTo(self.origin+(40,10,53),2);
Or
<Variable Name> LinkTo(self);
And you can do anything else with it go look at the model manipulation thread above...
entity((x,y,z),"com_plasticcase_enemy",(0,0,0),true,true);
//X=Front & Back Y=Left & Right Z=Up & Down idk about angles though
model[1]=entity((x,y,z),"com_laptop_2_open",(14,0,0),false,true);
model[1] MoveTo((x,y,z),2);

Copyright © 2026, NextGenUpdate.
All Rights Reserved.