12-02-2009, 06:26 PM
Sometimes, you are given an example of a call command in a script, like so:
Comic little thing, eh?
But yeah. You may be given instructions like that.
What you can do is to make a map event and go to the 3rd page of map event commands. On the bottom right of the commands is the 'Call Script' event command.
Clicking on the 'Call Script' button brings up a dialog window where you can enter a small amount of RGSS (or RGSS2) Ruby scripting. :HAPPY: It is here where you can enter your script call. In the above case, you would enter:
Sometimes there's more to enter... sometimes not. But this is generally what is asked.
Code:
# ------------------------------------------------------
# To call the plutonium destruct feature, please use the following
# command in a call script:
# $scene = $game_system.destruct_p = true
#
# ------------------------------------------------------
Comic little thing, eh?
But yeah. You may be given instructions like that.
What you can do is to make a map event and go to the 3rd page of map event commands. On the bottom right of the commands is the 'Call Script' event command.
Clicking on the 'Call Script' button brings up a dialog window where you can enter a small amount of RGSS (or RGSS2) Ruby scripting. :HAPPY: It is here where you can enter your script call. In the above case, you would enter:
Code:
$scene = $game_system.destruct_p = true
Sometimes there's more to enter... sometimes not. But this is generally what is asked.