stuff for prosthesis models
This commit is contained in:
@@ -15,6 +15,7 @@ function ISInstallProsthesis:start()
|
||||
self.item:setJobDelta(0.0)
|
||||
|
||||
|
||||
|
||||
self:setActionAnim("WearClothing")
|
||||
self:setAnimVariable("WearClothingLocation", "Jacket")
|
||||
|
||||
|
||||
@@ -28,6 +28,9 @@ function ISUninstallProsthesis:start()
|
||||
elseif self.item:IsInventoryContainer() and self.item:canBeEquipped() ~= "" then
|
||||
self:setAnimVariable("WearClothingLocation", "Jacket")
|
||||
end
|
||||
|
||||
self.character:setPrimaryHandItem(nil)
|
||||
self.character:setSecondaryHandItem(self.item)
|
||||
end
|
||||
|
||||
function ISUninstallProsthesis:stop()
|
||||
|
||||
Reference in New Issue
Block a user