Hi there,
Just wondering if it’s possible to access a public static var from a Jscript when in c? I have a string sitting in a Jscript that I’d like to be able to grab but I keep getting “does not exist in the current context” when I try to access it.
Here’s the variable in my JScript (named CustomScript)-
public static var ImagePath : string = "path";
And this is how the broken part of my CScript -
string name = CustomScript.ImagePath;
This is the error i get -
`CustomScript’ does not exist in the current context
Anyone know what I’m doing wrong?
Thanks
Pete