- Joined
- Jun 13, 2024
- Messages
- 2
I'm having a bizarre problem with my Jass scripts. When I try to save my map, I get a scope redeclared error. I have scoured the trigger editor, looking for a duplication of my script but I can't find anything. I'm new to Jass, but not to coding.
Here is what the trigger looks like in the trigger editor (IMAGE 1)
Here is the error I get when I save (IMAGE 2)
And here is where the scope is previously declared (IMAGE 3)
IMAGE 3 shows the correct code with the trigger file name and the TREE_WARD_MANA_COST variable removed. I have no clue where the code in IMAGE 2 comes from and there is no trigger file name associated with it.
I'm using the Reforged editor with JassHelper and vJass enabled.
Thoughts? Any help is appreciated.
Here is what the trigger looks like in the trigger editor (IMAGE 1)
Here is the error I get when I save (IMAGE 2)
And here is where the scope is previously declared (IMAGE 3)
IMAGE 3 shows the correct code with the trigger file name and the TREE_WARD_MANA_COST variable removed. I have no clue where the code in IMAGE 2 comes from and there is no trigger file name associated with it.
I'm using the Reforged editor with JassHelper and vJass enabled.
Thoughts? Any help is appreciated.