You need AVI Movie Player. I made a script called Helper. It looks in yourgame/Movies folder to see if there is an avi file. If Helper can find it says "true" if not it says "false". It helps out to see if you made a mistake in the code or you don’t have the avi file. I want to add more to Helper to make it a class but I don’t know what to add, and how to add the updates. I want it to be well a helper. So it will help newbie’s like me. Could some one help? Thanks, Charles D.
Here is my script.
Past this above main:
To call it make a new event and us the script command and past this:
Here is my script.
Past this above main:
Code:
module ScriptCall
def self.print_messages1
# Show Message enabled determinant
# Check if Intro.avi exist
# If enabled, make @showmessage_enabled true; if disabled, make it false
p "Does Intro.avi exist?"
@showmessage_enabled = false
if FileTest.exist?("Movies/Intro.avi")
@showmessage_enabled = true
end
# If Show Message is enabled, print yes
# If Show Message is disabeld, print no
if @showmessage_enabled
p "Yes!"
else
p "No!"
end
end
end
To call it make a new event and us the script command and past this:
Code:
ScriptCall.print_messages1