Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Read manual already?

(1 edit)

Yes I did. 

"entity

entity delete [tileX] [tileY] [tileZ] - deletes entity in a certain tile. tileZ is floor number.

entity delete me - deletes entity that called a script (or decoration that player used).

entity move [tileX] [tileY] [tileZ] [offsetX] [offsetY] [offsetZ] - shifts entity.

entity spawnat [enemyname/decorationname/Key1-3/Hp1-3] [tileX] [tileY] [tileZ] - creates entity at tile coordinates (as shown in map editor).

entity spawnatpos [enemyname/decorationname/Key1-3/Hp1-3] [X] [Y] [Z] - creates entity at a certain number of units."

The entity delete me does not seem to work as intended. There are ways to delete an entity at specified coordinates per map, but I don't see a way to delete an entity relative to where the player clicked. The description of entity delete me makes it seem like it should be able to delete the entity that was "pressed."

Could you please show your script? Also, what kind of entity you want to delete?