• Lua trigger/brush help!
    0 replies, posted
Pratically I'm trying to do a TF2 Passtime thingy, but, when I tried replacing the doors ("trigger_passtime_ball") that don't exists, the trigger extends to a specific point. Strangely, I didn't put any type of script/code for extending it. [code] --shared ENT.Type = "brush" ENT.Base = "base_brush" ENT.PrintName = "" ENT.Author = "" ENT.Spawnable = false ENT.AdminSpawnable = false --init AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include( 'shared.lua' ) function ENT:Initialize() self:SetTrigger(true) end function ENT:StartTouch(ent) end function ENT:EndTouch(ent) end function ENT:KeyValue( key, value ) end function ENT:Think() end [/code] cl_init is empty. This is what I get: [IMG]http://images.akamai.steamusercontent.com/ugc/266094259429235458/37046EB7E2064919477A64BCECA53994457618BC/[/IMG]
Sorry, you need to Log In to post a reply to this thread.