Invalid escape character sequence

FarAwaY

TH.net Regular
Reaction score
9
Hi all,

I am trying to use a fade filter for my map. However it gives me an error when I try to save it:

"Invalid escape character sequence".

I was able to use this with the normal WE without problems. After installing NEWGEN with EGUI however, I seem to keep receiving errors with this action.

Does anybody know a fix?
 

Skippy

Active Member
Reaction score
39
This error occurs when you use '\' in path string. If you want to use backslash, you have to write '\\'.
Hope it helps :)
 

hopy

Active Member
Reaction score
64
Eh? Its a GUI action. How to use // when its GUI?

Trigger:
  • Example
    • Events
    • Conditions
    • Actions
      • -------- This is useless text that doesn't do anything at all but is just here for fun? --------


In the GUI Action list 2nd from the top is 'Comment' which I believe is the same as // is in Jass.
 

Skippy

Active Member
Reaction score
39
It's not // but \\ . And I don't know if it's is your case, I know it makes same error.
Try to "remake" functions that use path strings, for example Special effects.
 

FarAwaY

TH.net Regular
Reaction score
9
@hopy
No, you misunderstand.

What I'm saying is that a GUI action is causing my map to crash:

Fade Filter: Create a black mask etc etc

It gives me an error: "Invalid escape character sequence", hence the thread title. So I'm asking for a fix.

Then skippy says:

"This error occurs when you use '\' in path string. If you want to use backslash, you have to write '\\'."

So I responded with a "Eh? How do you use // in GUI?" This basically means "It is impossible to be a // error because the GUI action doesn't allow me to use '/'."

@skippy
I dont use JASS. Its a fade filter thats giving me the problem. And its in GUI. Cant use \\ or //.

And I did try remaking. Didnt work.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
It's more likely that the path of the filter itself is typed incorrectly.
 

Laiev

Hey Listen!!
Reaction score
188
what line the error show? |: may help us

EGUI don't have any error in script (compile fine), try to update the jasshelper
 

FarAwaY

TH.net Regular
Reaction score
9
Trigger? One action causes it.

Trigger:
  • Cinematic - Fade out and back in over 2.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency


File manager? What file manager?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top