Skip to content

[Bug] Bone names are not correct in completions #68

Description

@ViTeXFTW

What happened?

When hiding the cargo for the china supply truck it expects the exact name of the bone (i.e. CARGO01) and not only CARGO which was previously thought to be enough. The issue might be that only models with multiple numbered bones are okay with non numbered bones, or only some fields like fire bones field.

Expected behavior

The suggestions should be the correct names which yield the correct output to not confuse the user.

Minimal INI sample

Object Boss_VehicleSupplyTruck
    SelectPortrait         = SNSupplyTruck_L
    ButtonImage            = SNSupplyTruck

    RemoveModule ModuleTag_01
    AddModule
        Draw = W3DTruckDraw ModuleTag_01New
            OkToChangeModelColor = Yes
            DefaultConditionState
                Model = NVSupplyTk
                HideSubObject = CARGO ; <- Should be CARGO01
            End
        End
    End
END

Environment

  • OS: Windows 10
  • Editor: Vscode
  • ZeroSyntax version: 1.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions