Difference between revisions of "Classes:YellowKey"

From ECWolf Wiki
(Created page with "{{Actor| | type = Key | game = Spear | doomednum = 154 | name = Yellow Key | class = YellowKey }}Classes: {{Class|Actor}} → {{Class|Inventory}} → {{Class|KeyGive...")
 
Line 13: Line 13:
 
  actor <u>YellowKey</u> : {{Class|KeyGiver}} 154
 
  actor <u>YellowKey</u> : {{Class|KeyGiver}} 154
 
  {
 
  {
   {{property|dropitem}} "{{Class|GoldKey}}"
+
   {{property|DropItem}} "{{Class|GoldKey}}"
 
   states
 
   states
 
   {
 
   {

Revision as of 14:26, 20 February 2013

Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do not need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it's actually harmful as it can cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
  5. There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
Yellow Key
Actor type Key Game MiniSpearLogoIcon.png
DoomEd Number 154 Class Name YellowKey


Classes: ActorInventoryKeyGiverYellowKey

Overview

Alternative pickup for the gold key in the Spear of Destiny mission packs. Larger and more vibrant appearance.

DECORATE Definition

actor YellowKey : KeyGiver 154
{
  DropItem "GoldKey"
  states
  {
    Spawn:
      YKEY A -1
      stop
  }
}