Block (TeaScript)

From PGE Wiki
Revision as of 23:48, 31 August 2019 by Void-the-Bat (talk | contribs) (Actually added stuff to this page.)
Jump to navigation Jump to search

Block is a class in TeaScript.vbs that allows you to read/write values for blocks.

To read the value of Block use:


id stands for the block ID. To change the value of Block use:

Char(id).name = value
Name Description
X The X coordinate of the block.
Y The Y coordinate of the block.
Xsp The X-speed of the block.
Ysp The Y-speed of the block.
id The current block number.
advset The ID of the NPC the block contains.