Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement Request] Variable use in search pattern #105

Open
Electrocutor opened this issue Mar 30, 2018 · 0 comments
Open

[Enhancement Request] Variable use in search pattern #105

Electrocutor opened this issue Mar 30, 2018 · 0 comments

Comments

@Electrocutor
Copy link

@part[*]:HAS[@module[ModulePartVariants]:HAS[@variant:HAS[@gameObjects]]] {
@module[ModulePartVariants] {
+VARIANT[#$baseVariant$] {

In the above example, the value of baseVariant from the current node (which is MODULE { name = ModulePartVariants }) would be used to find a VARIANT node with that name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant