Difference between revisions of "Classes:ScoreItem"

From ECWolf Wiki
(Created page with "{{Actor| | type = Internal | name = Score Item | class = ScoreItem }}Classes: {{Class|Actor}} → {{Class|Inventory}} → <u>ScoreItem</u><br>  →{{Class|Ch...")
 
m
 
Line 5: Line 5:
 
}}[[Classes]]: {{Class|Actor}} &rarr; {{Class|Inventory}} &rarr; <u>ScoreItem</u><br>
 
}}[[Classes]]: {{Class|Actor}} &rarr; {{Class|Inventory}} &rarr; <u>ScoreItem</u><br>
 
&nbsp;&rarr;{{Class|Chalice}}<br>
 
&nbsp;&rarr;{{Class|Chalice}}<br>
&nbsp;&rarr;{{Class|ChestOfJewels}}<br>
+
&nbsp;&rarr;{{Class|ChestofJewels}}<br>
 
&nbsp;&rarr;{{Class|Cross}}<br>
 
&nbsp;&rarr;{{Class|Cross}}<br>
 
&nbsp;&rarr;{{Class|Crown}}<br>
 
&nbsp;&rarr;{{Class|Crown}}<br>

Latest revision as of 19:41, 11 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.
Score Item
Actor type Internal Game MiniECWolfLogoIcon.png
DoomEd Number None Class Name ScoreItem


Classes: ActorInventoryScoreItem
 →Chalice
 →ChestofJewels
 →Cross
 →Crown

Overview

Defines a pickup which gives a certain amount of points to the player when picked up. The item does not enter the player's inventory.

DECORATE Definition

actor ScoreItem : Inventory native
{
  +COUNTITEM
  inventory.amount 1
}