Hidden Functions (TeaScript)

This is a list of possible functions or other attributes to TeaScript that are currently unknown. All known info must be documented here. If something has gone from unknown to documented, please move the attribute to the correct wiki page and remove it from here.

Unknown Keywords
Void - UNKNOWN

import - UNKNOWN

 Export  - FOUND

struct - UNKNOWN

 scriptptr  - FOUND

Newarray - UNKNOWN

Editor Scripts
It basically works like a swap object(ie as a search and replace function) not ingame.

The x y properties of objects work, and the id property works in npcs and blocks.(but individual)

sysval is inaccessible in editor script, use itrcreate/itrnext instead, but without berase function.(it only works for blocks)

Every time you start the editor there are no scripts or they are deleted.

systemObjs

 * Possible functions for editor scripts.
 * Every class object has a sys form. Possible config method for objects?
 * systemEffect was added in patch 31 alongside effect class.

1.4.4 leftovers

 * Upon dumping the strings list in 1.4.5, the names of various shader-related functions have been carried over from version 1.4.4, but do not work when called as functions.
 * Strings referencing the Player GFX Offset Editor, custom fonts, and various other 1.4.4. exclusive features can also be found if the user opens various windows and then proceeds to open the language configuration.

Perhaps there's a way to enable these again through hacking?

Unidentified names for classes
There are currently plenty of identifiers in a few classes that either have no effect or have an effect that is yet to be discovered.


 * Char class
 * scriptid
 * NPC class
 * langle
 * stimer
 * Sysval class
 * npcstyle
 * disablesysconstreset
 * machinecode