wiremod-svn-archive/wire/lua/entities/gmod_wire_locator/init.lua

26 lines
507 B
Lua
Raw Normal View History

2007-02-04 01:16:06 +00:00
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
ENT.WireDebugName = "Locator"
ENT.OverlayDelay = 0
local MODEL = Model( "models/props_lab/powerbox02d.mdl" )
function ENT:Initialize()
self.Entity:SetModel( MODEL )
self.Entity:PhysicsInit( SOLID_VPHYSICS )
self.Entity:SetMoveType( MOVETYPE_VPHYSICS )
self.Entity:SetSolid( SOLID_VPHYSICS )
end
function ENT:GetBeaconPos(sensor)
return self.Entity:GetPos()
end
function ENT:Setup()
end