Added new "Hide on Vehicle" preset option, currently in use by the PetBar to hide the single "Attack" button being shown on the engineering chopper mounts and possible other Vehicle-type mounts.
This commit is contained in:
@@ -340,6 +340,8 @@ function Bar:InitVisibilityDriver(returnOnly)
|
||||
table_insert(self.hidedriver, "hide")
|
||||
elseif key == "possess" then
|
||||
table_insert(self.hidedriver, "[bonusbar:5]hide")
|
||||
elseif key == "vehicle" then
|
||||
table_insert(self.hidedriver, "[target=vehicle, exists]hide")
|
||||
elseif directVisCond[key] then
|
||||
table_insert(self.hidedriver, ("[%s]hide"):format(key))
|
||||
elseif key == "stance" then
|
||||
|
||||
Reference in New Issue
Block a user