무슨 스크립트인지 모름

by Man... posted Oct 26, 2008
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

# SIMPLE EXAMPLE 1:
$scene = Scene_New.new(1, "")

# This will add actor with ID 1 to the party, optionally fade out the screen and display
# all the editable text and stats. It will NOT show an image.
# ---------------------------------
# SIMPLE EXAMPLE 2:
t = "This is a text"
$scene = Scene_New.new(1, "1", t)

# By having 3 parameters, the 3rd will be displayed in the button of the
# optional textbox. In other words "This is a text" will be displayed.
# Again, the picture ("1.png") are loaded from the Graphics/Pictures folder.
# ---------------------------------
# SIMPLE EXAMPLE 3:
a = [1,2,3,5,9]
t = "This is a text"
$scene = Scene_New.new(a, "1", t, true)

# By having 4 parameters, the 1st should be an array of actor IDs.
# It can be a single number too, but then there will be no loop.
# The 4th will be whether or not you can loop between the array to chose
# what actor to add. In other words, if the 1st parameter is an array,
# the 4th should be true to make sense. If you can loop, the picture can
# optionally change as well.
#
# If you want this effect you should call the pictures
# equal to an actor's ID; a single number as in the examples.
# And you should send in the picture in the parameters with name
# equal to the 1st item in the array. e.g. if the array is [5,4,6] it should be
# "5", and if it's [8,12,1,6] it should be "8"
데모
: http://www.sendspace.com/file/ss92kk