Item Reference Object
From Runic Games Wiki
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 | |
The specific Prop that will drop the specified "Item". | |
MONSTER | |
The specific Monster to give the specified "Item" to. | |
RADIUS | |
The radius to find the specified "Level Prop", "Monster", or "Unit Type" to give the specified "Item" to. | |
UNIT TYPE | |
The Unit Type to give the specified "Item" to. | |
ORIENTATION | |||
FORWARD | |
Forward by X,Y,Z. | |
RIGHT | |
Right by X,Y,Z. | |
UP | |
Up by X,Y,Z. | |
POSITION | |||
POSITION | |
Position by X, Y, Z world coordinates. | |
PROPERTIES | |||
DROP IN WORLD | |
If True the specified "Item" will drop in the world. | |
ITEM | |
The Item to reference. If "Spawn Class" is used the "Item" is ignored. | |
SPAWN CLASS | |
The Spawn Class to reference. | |
VISIBLE | |
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.