Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Key1 instead of key1. It's all case-sensitive.

And it's spawnat now. spawnatpos if you want to spawn at exact coordinates.

spawn is now for spawning with an offset from decoration that called the script

Could you please give me the syntax of those methods?

It's the same as regular spawn.

The only difference is how coordinates are processed

still not working. Here is my script

vn 1

give weapon 1
global.cassettes=1
text "You can now throw the cassettes"
// testing spawn keys
entity spawnat Key1 8 5

map return

It's probably a bug.

Which is why I didn't introduce a scripting system yet officially.

ok. I will wait for the fixes then.

(3 edits)

i was completely wrong in what i wrote here. i though i figured it out but i did not. spawnat works with decorations, not Key1-3 or Hp1-4

Nah, it should work with any entity.

I found the bug. It does create a key but in a different place. As I said, the codebase is very old and spaghetti like at this point, so I had an old error with Z coordinates.