ItemObjectItemObject executes what item is built for.
For example the item for restoring the player health sends an "increaseHealth" message to the player when used. See Player messages.
It is spawned just when the user enters the inventory, opens the items page, selects the specific item cell and presses the use button command (see commands).
An itemObject doesn't execute anything by default, you must link it to a GameMachine that is executed when the itemObject is spawned. See Creating item logic.
ItemObject isn't directly inserted into the scene, but it is stored as prefab and referenced by the related itemTAG.
Following are the most important parameters of the ItemObject prefab:
|