From ZDoom Wiki
Jump to navigation Jump to search
Note: This feature is for ZScript only.

[struct?] GetDefaultByType(class<Actor> type)

Use this to find the default property of a class, rather than those of any particular actor.

Note that this is sensitive to whether the caller has a backpack, so it is not necessary to specifically check for a backpack and backpackmaxamount - checking maxamount will cover both situations.