Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Shield_Orig = Shield
- Shield = Class(Shield_Orig) {
- CreateShieldMesh = function(self)
- Shield_Orig.CreateShieldMesh(self)
- local TestBox = self.Owner:GetBlueprint().Defense.Shield.CollisionShapeBox
- if TestBox == 1 then
- #LOG('I GOT THIS PIECE OF CARP TO WORK!')
- self:SetCollisionShape( 'Box', 0, self.Owner:GetBlueprint().Defense.Shield.BoxOffsetY, 0, self.Owner:GetBlueprint().Defense.Shield.BoxX, self.Owner:GetBlueprint().Defense.Shield.BoxY, self.Owner:GetBlueprint().Defense.Shield.BoxZ)
- end
- end,
- }
Add Comment
Please, Sign In to add comment