Classes:ScoreItem
Classes: Inventory→ScoreItem
→EvilSceptre
→UnholyBible
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Score item | |||
---|---|---|---|
Actor type | Internal | Game | ![]() |
DoomEd Number | None | Class Name | ScoreItem |
A score item is a simple item that, when picked up, add its amount property to the player's score property and is destroyed. The item does not actually go into the player's inventory.
The score property is not used for anything by default. It is left to modders to do something with it if so they want. However, score items can be used to make items that count for the "level completed" tally without having any other effect, similar to the bonus items in the press-release beta version of Doom.
DECORATE definition
ACTOR ScoreItem : Inventory native { Height 10 +COUNTITEM Inventory.Amount 1 +INVENTORY.ALWAYSPICKUP }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.