Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- easylua.StartEntity("tornado")
- function ENT:SetupDataTables()
- self:DTVar("float", 0, "wind_speed")
- end
- if CLIENT then
- function ENT:Initialize()
- self:SetRenderBounds(self:GetPos(), self:GetPos() + Vector(0,0,1000))
- end
- function ENT:Draw()
- -- sprites
- end
- end
- if SERVER then
- function ENT:Initialize()
- self.dt.wind_speed = 100
- end
- function ENT:Think()
- -- physics
- end
- end
- easylua.EndEntity(should_spawn, should_reload)
Advertisement
Add Comment
Please, Sign In to add comment