How do I add an item in-game

I have an item that I made in entities, but how do I make it show up in-game?

2 Likes

What do you mean by “show up in-game”? do you mean spawning it in the map or putting it in the player’s inventory?

1 Like

I want it to spawn in map

1 Like

On the initialize script you add a “create entity at position” action and set the position at “random position in entire map region” (You can make it so it can be any region you create with the map editor) and the size will be the same size as the dropped and selected (you can find those by clicking the selected or dropped body types found in the item propeties and use the second image if you can’t find those)
Screenshot_19

Screenshot_20

2 Likes

I can’t get entire map region. can you show me how?

1 Like

So what you do is click position and in the function box, put random position in region like the image first and you will see the word region is red and when you click it, click the circle beside the word functions like the second image and put entire map region


1 Like

What should I make the trigger be?

1 Like

Just put it on the initialize script.

1 Like