Display something if file is present?
-
Ok, I'm on a question roll! Is it possible to display an interface object if the file is present in the AppData folder or the equivalent on Mac? I'm thinking of an expansion that you'd install and if it's installed, some additional options on the interface would show.
-
@tomekslesicki said in Display something if file is present?:
Ok, I'm on a question roll! Is it possible to display an interface object if the file is present in the AppData folder or the equivalent on Mac? I'm thinking of an expansion that you'd install and if it's installed, some additional options on the interface would show.
var MapMetaData = Engine.loadFromJSON("VoiceMetaData.js"); if (MapMetaData ==""){ // do something here... };
-
@Lindon said in Display something if file is present?:
@tomekslesicki said in Display something if file is present?:
Ok, I'm on a question roll! Is it possible to display an interface object if the file is present in the AppData folder or the equivalent on Mac? I'm thinking of an expansion that you'd install and if it's installed, some additional options on the interface would show.
var MapMetaData = Engine.loadFromJSON("VoiceMetaData.js"); if (MapMetaData ==""){ // do something here... };
Awesome, thanks a lot!