Skip to content

How to navigate upwards from child node #4

@ryantpayton

Description

@ryantpayton

This might be something completely not worth while but I am having troubles implementing this feature so any help would be greatly appreciated!

Old wz files in MapleStory uses a property on the node called source to link to another place in the wz file. It's easy to find this location because it contains the whole string. So take off the root of the path. And then "node.root(); node.resolve(source);" and viola it works.

Current GMS implements a new strategy in which it uses _inlink and _outlink. _outlink is I believe the same as source, but _inlink is dynamic and refers to only a few places above. For example "ani/17/0" which is referenced in "ani/17/1"

Using root() and resolve() gets you the wrong place in the wz file. I would like to navigate upwards. Node is at "ani/17/1", two parents up. So maybe call node.parent() twice and then resolve the link. But unfortunately there is nothing like this implemented.

Any guidance again, would be greatly helpful and appreciated! Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions