Item Reference Object

From Runic Games Wiki
Jump to: navigation, search

Contents

Item Reference

Description

This Level Object is used to reference a specific Item that can be given to a Monster, Player, or dropped in the world.

Location

Right-click on an empty space in the Layout Scene Manager and choose Building Blocks > Item Reference from the list.

Properties

Name Type Description Read Only
GIVE TO MONSTER IN AREA
LEVEL PROP
string
The specific Prop that will drop the specified "Item".
MONSTER
string
The specific Monster to give the specified "Item" to.
RADIUS
float
The radius to find the specified "Level Prop", "Monster", or "Unit Type" to give the specified "Item" to.
UNIT TYPE
string
The Unit Type to give the specified "Item" to.
ORIENTATION
FORWARD
CVector3
Forward by X,Y,Z.
RIGHT
CVector3
Right by X,Y,Z.
UP
CVector3
Up by X,Y,Z.
POSITION
POSITION
CVector3
Position by X, Y, Z world coordinates.
PROPERTIES
DROP IN WORLD
bool
If True the specified "Item" will drop in the world.
ITEM
string
The Item to reference. If "Spawn Class" is used the "Item" is ignored.
SPAWN CLASS
string
The Spawn Class to reference.
VISIBLE
bool
Set the Item Reference object visible or not.

Input Events

Show
Set the Item Reference object to be visible.
Hide
Set the Item Reference object to be invisible.
Take item
Force the passed Monster to take the specified "Item".
Player take item
Force the Player to take the specified "Item".

Output Events

On Visible
This event will be fired when the Item Reference receives a "Show" Input event.
On Invisible
This event will be fired when the Item Reference receives a "Hide" Input event.
Personal tools
Namespaces

Variants
Actions
Navigation
Runic Sites
Toolbox