Difference between revisions of "Classes:KeyGiver"
From ECWolf Wiki
(Created page with "{{Actor| | type = Internal | name = Key Giver | class = KeyGiver }}Classes: {{Class|Actor}} → {{Class|Inventory}} → <u>KeyGiver</u><br> →{{Class|CyanK...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
== DECORATE Definition == | == DECORATE Definition == | ||
− | actor KeyGiver : 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" }