NPC (TeaScript)

From PGE Wiki
Revision as of 06:22, 4 September 2017 by Yoshi021 (talk | contribs) (Started with the docimentation)
Jump to navigation Jump to search

NPC is a class in TeaScript.vbs that allows you to read/write values of NPCs.

To read the value of NPC use:

NPC(index).name

To change the value of NPC use:

NPC(index).name = value
Name Description
X The X coordinate of the NPC.
Y The Y coordinate of the NPC.
prX The X coordinate of the original postion's NPC.
prY The Y coordinate of the original postion's NPC.
Xsp The X speed of the NPC.
Ysp The Y speed of the NPC.