Difference between revisions of "Classes:KeyGiver"
From ECWolf Wiki
m (→DECORATE Definition: Style) |
|||
| Line 13: | Line 13: | ||
actor <u>KeyGiver</u> : {{Class|Inventory}} native | actor <u>KeyGiver</u> : {{Class|Inventory}} native | ||
{ | { | ||
| + | inventory.pickupsound "misc/k_pkup" | ||
} | } | ||
Latest revision as of 05:28, 11 June 2013
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
| Key Giver | |||
|---|---|---|---|
| Actor type | Internal | Game | |
| DoomEd Number | None | Class Name | KeyGiver |
Classes: Actor → Inventory → KeyGiver
→CyanKey
→YellowKey
Overview
This is a base class for defining alternative pickups for keys. The key which should be given should be specified as the dropitem.
DECORATE Definition
actor KeyGiver : Inventory native { inventory.pickupsound "misc/k_pkup" }