Skip to content

BuildingHelper:UpgradeBuilding #22

@SirWayN3

Description

@SirWayN3

I just found an error and some suggestions regarding this function.

Error:
function BuildingHelper:BlockPSO(size, location) -- if size == 0 then return end -- size can be nil, when no KV "PathingSize" has been set if size == 0 or size == nil then return end

Suggestions:

  1. Add Upgrade Duration to the Function
  2. Add Modifier Copy & Paste from the old Building to the new.
  3. Make new Building selected by Default
  4. Remove Building Invulnerable from newly spawned Building

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions