Difference between revisions of "Version 2 Scripts"
Jump to navigation
Jump to search
| Line 74: | Line 74: | ||
== Constructs === | == Constructs === | ||
{|class="wikitable" | |||
! Sub-construct | |||
! Inputs | |||
! Output | |||
|- | |||
| colspan="3" | | |||
=== Entity === | |||
|- | |||
| colspan="3" | | |||
=== Environment === | |||
|- | |||
| colspan="3" | | |||
=== Inventory === | |||
|- | |||
| colspan="3" | | |||
=== Level === | |||
|- | |||
| colspan="3" | | |||
=== NPC === | |||
|- | |||
| colspan="3" | | |||
=== Phone === | |||
|- | |||
| colspan="3" | | |||
=== Player === | |||
|- | |||
| colspan="3" | | |||
=== Pokemon === | |||
|- | |||
| colspan="3" | | |||
=== Register === | |||
|- | |||
| colspan="3" | | |||
=== Storage === | |||
|- | |||
| colspan="3" | | |||
=== System === | |||
|- | |||
| colspan="3" | | |||
=== Value === | |||
|} | |||
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 | ||