Difference between revisions of "Version 2 Scripts"

From Pokémon 3D Wiki
Jump to navigation Jump to search
Line 73: Line 73:
=== @options.show() ===
=== @options.show() ===


== Constructs ===
== Constructs ==
{|class="wikitable"
{|class="wikitable"
! Sub-construct
! Sub-construct

Revision as of 23:02, 14 July 2013

Version 2 scripts were started in version 0.32. Any script in Version 2 must have "version=2" as the first line of the script.

Commands are written as @command.subcommand and are no longer case sensitive. All commands require a subcommand.

Constructs were also expanded to be <construct.subconstruct> and can be used with switches to

Commands

Commands always have a subcommand. All combinations will be listed below.

* unless otherwise specified a bool can bee either 1(on) or 0(off).

** Unless otherwise specified X,Y,Z is a three dimensional position.

Subcommand Job Inputs

Battle

Camera

Entity

Environment

Item

Level

Music

NPC

Player

Pokemon

Register

Screen

Script

Sound

Storage

Text

Value

Switches

:if:

:select:

@options.show()

Constructs

Sub-construct Inputs Output

Entity

Environment

Inventory

Level

NPC

Phone

Player

Pokemon

Register

Storage

System

Value