31
OXCE Support Y-scripts / Re: Broken Y-scripts
« on: February 28, 2024, 11:06:48 am »
I do not see this is related to BAI as most of this errors look like simply missing variables in script and typos.
e.g. script try use local variable `itemRuleset` that was not declared.
Another is missing `;` after `Tag.GOGGLES_STRENGTH`
`var ptre soldier_rule RuleSoldier;` mix order of names of variable to declare with name of type.
overall when you read errors, engine output at first most inner one, and on following lines that add more context.
e.g. script try use local variable `itemRuleset` that was not declared.
Another is missing `;` after `Tag.GOGGLES_STRENGTH`
`var ptre soldier_rule RuleSoldier;` mix order of names of variable to declare with name of type.
overall when you read errors, engine output at first most inner one, and on following lines that add more context.