Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: TritraSerpifeu on October 03, 2020, 02:25:22 am

Title: How can I check for the existence of a Certain file
Post by: TritraSerpifeu on October 03, 2020, 02:25:22 am
So, I kinda wanna do a own: "Monica.chr" thing. With a Script that checks if a Data of my Choice is there.
I kinda want to use it so I can drop a few little changes when a certain file is not there. I kinda want to be it that I can do something around the lines of:
Conditional Branch: Script: isthere(Characters/Monika.chr)
@>
else
@>
So that I can easily check if one of these datas is there and react based on it
Title: Re: How can I check for the existence of a Certain file
Post by: Enigmo on October 05, 2020, 07:58:30 am
FileTest.exists?("./Characters/Monika.chr")