Statistics: Posted by IceDreamer — 13 May 2014, 21:46
Statistics: Posted by Aurion — 13 May 2014, 10:40
Statistics: Posted by Ze_PilOt — 12 May 2014, 22:35
self:GetAttached(unit)
unit:SetCanTakeDamage()
Statistics: Posted by IceDreamer — 12 May 2014, 03:52
#Something along these lines
# OnDamage = function(self, instigator, amount, vector, damageType, unit)
# unit:OnDamage = function(self, instigator, amount, vector, damageType)
# if self:ShieldIsOn() and unit:SetCanTakeDamage == true then
# unit:SetCanTakeDamage(false)
# elseif self:ShieldIsOn() and unit:SetCanTakeDamage == false then
# end
# if self:ShieldIsOn(false) and unit:SetCanTakeDamage == false then
# unit:SetCanTakeDamage(true)
# elseif self:ShieldIsOn(false) and unit:SetCanTakeDamage == true then
# end
# end
# end
Statistics: Posted by IceDreamer — 11 May 2014, 23:44
Statistics: Posted by Resin_Smoker — 20 Feb 2014, 04:44
Statistics: Posted by ZLO_RD — 26 Jan 2014, 04:23
Statistics: Posted by Domino — 25 Jan 2014, 22:13
Statistics: Posted by IceDreamer — 25 Jan 2014, 20:45