@kingsize thank you.
I think you're a pro and I'm just a newbie, I'm here trying to learn and I think I'm in the wrong place.
Is there anyone who can direct me to tutorials or forums where I can find my answer.
Thank you as same
So I compiled a script, and I am using "Path to project directory". This gives me a long path nested in folders from the original .exe, ie:
C:/Users/Administrator/Desktop/CP/appsremote/{ProjectName}/SIDa5fbb57a/engine/project.xml
Are there any baked-in functions to get the root: C:/Users/Administrator/Desktop/CP/?
@ev0 said in How to get root of a compiled script?:
Are there any baked-in functions to get the root: C:/Users/Administrator/Desktop/CP/?
Yes -

@sir-ydroidrrr said in How to get root of a compiled script?:
@ev0 said in How to get root of a compiled script?:
Are there any baked-in functions to get the root: C:/Users/Administrator/Desktop/CP/?
Yes -
Thank you for your response. This function only gives me the path to that xml file, however, when compiled I'm looking for a way to output to the .exe main folder that's generated.
@ev0, everything works, the screenshots of the compiled script are attached above
@GhostZ said in How to get root of a compiled script?:
@GhostZ said in How to get root of a compiled script?:
@ev0, everything works, the screenshots of the compiled script are attached above
@GhostZ said in How to get root of a compiled script?:
So strange, I can't replicate this. Thank you for verifying. I'll continue to try and break things.