Is this possible?
I'm trying to find the models in a map and turn them into an entity.
[php]local en = ents.FindByModel("models/env/misc/bank_atm/bank_atm.mdl")
for k, v in pairs(en) do
function ENT:Initialize( )
self.Entity:PhysicsInit( SOLID_VPHYSICS )
self.Entity:SetMoveType( MOVETYPE_VPHYSICS )
self.Entity:SetSolid( SOLID_VPHYSICS )
end
RunConsoleCommand("say Found One!")
end[/php]
No, it's impossible. prop_static entities are 'baked' into a map and work like a brush.
Sorry, you need to Log In to post a reply to this thread.