Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Calling Scripts
#3
Sometimes, you are given an example of a call command in a script, like so:
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.
Reply }


Messages In This Thread
Calling Scripts - by aistinger - 12-02-2009, 04:16 AM
Calling Scripts - by Alpha-Mad - 12-02-2009, 05:17 PM
Calling Scripts - by DerVVulfman - 12-02-2009, 06:26 PM
Calling Scripts - by aistinger - 12-03-2009, 01:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Icon Display 1.0 scripts makes events impossible to go to events, which are passable Djigit 0 3,639 01-03-2015, 09:11 PM
Last Post: Djigit
   Calling Random Numbers Alistor 7 8,097 09-08-2013, 08:41 PM
Last Post: DerVVulfman
   How to get class name from Scripts.rxdata? MechanicalPen 2 6,257 08-13-2013, 05:50 PM
Last Post: MechanicalPen
   looking for day/night/weather scripts: Ahzoh 2 4,508 07-31-2013, 05:25 AM
Last Post: Ahzoh
   MrMo's ABS Ultimate and Other Scripts Erechel 6 8,577 05-07-2012, 03:37 AM
Last Post: Erechel
   Combine two scripts Kerdukie 0 3,073 12-25-2009, 02:16 AM
Last Post: Kerdukie
   Sideview Tankentai XP & SDK Scripts Ravenith 1 5,041 08-26-2009, 03:01 AM
Last Post: DerVVulfman



Users browsing this thread: