09-01-2005, 01:00 PM
Hi I made another one! If you've seen my previous scripts
than you know they are very simle, but some think that they
are cool.
Random Title Screen
by Eccid
Sept 1 2005
Okay all, this is an easy script to implement
Go to Scene_Title and find this line:
and replace it with this:
The comments explain it but seeing as how no one reads them (except
me) I'll explain it.
You don't have to have yout titles name 1,2,3,4,etc. You can just replace
the number with the name of your tirle.
You can also add more titles to it if you want to, just raise the number in:
by however many titles you want to add and make more if
statements for each one.
Thanks and tell me what you think!
than you know they are very simle, but some think that they
are cool.
Random Title Screen
by Eccid
Sept 1 2005
This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.
No support is given. If you are the owner of the thread, please contact administration.
Okay all, this is an easy script to implement
Go to Scene_Title and find this line:
Code:
@sprite.bitmap = RPG::Cache.title($data_system.title_name)
and replace it with this:
Code:
#Start---
$ts = rand (4) #Sets variable "ts" and sets it as a random number between 0-3
if $ts == 0 #If "ts" is set at 1 then set titlescreen as 1.png
@sprite.bitmap = RPG::Cache.title("1.png")#Change to the name of one of
end #your title screens.
if $ts == 1
@sprite.bitmap = RPG::Cache.title("2.png")
end
if $ts == 2
@sprite.bitmap = RPG::Cache.title("3.png")
end
if $ts == 3
@sprite.bitmap = RPG::Cache.title("4.png")
end
#End---
The comments explain it but seeing as how no one reads them (except
me) I'll explain it.
You don't have to have yout titles name 1,2,3,4,etc. You can just replace
the number with the name of your tirle.
You can also add more titles to it if you want to, just raise the number in:
Code:
$ts = rand (4)
by however many titles you want to add and make more if
statements for each one.
Thanks and tell me what you think!