PlayFxMuzzleSequence = function(self, muzzle)
local bp = self:GetBlueprint()
self.Rotator = CreateRotator(self.unit, bp.RackBones[self.CurrentRack].RackBone, 'z', nil, 90, 90, 90)
muzzle = bp.RackBones[self.CurrentRack].MuzzleBones[1]
self.Rotator:SetGoal(90)
TIFCruiseMissileLauncherSub.PlayFxMuzzleSequence(self, muzzle)
WaitFor(self.Rotator)
WaitSeconds(1)
self.Rotator:SetGoal(0) --this tells the door o close without affecting launch time
end,
Statistics: Posted by A_vehicle — 11 Aug 2012, 23:55