gzdoom/wadsrc/static/zscript/base.txt
Christoph Oelckers 010fd038be - scriptified A_KeenDie.
- added an 'exact' parameter to FThinkerIterator's Next function. This is mainly for scripting which allows to do a lot more checks natively when running the iterator while looking for one specific class.
2016-11-05 01:19:41 +01:00

32 lines
592 B
Text

class Object native
{
/*virtual*/ native void Destroy();
native class<Object> GetClass();
}
class Thinker : Object native
{
}
class ThinkerIterator : Object native
{
enum EStatnums
{
MAX_STATNUM = 127
}
native static ThinkerIterator Create(class<Object> type = "Actor", int statnum=MAX_STATNUM+1);
native Thinker Next(bool exact = false);
native void Reinit();
}
class DropItem : Object native
{
/* native fields listed for reference only for now
native readonly DropItem Next;
native readonly name Name;
native readonly int Probability;
native readonly int Amount;
*/
}