Skip to main content

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

spgh

3
Posts
1
Topics
A member registered 25 days ago

Recent community posts

nevermind i fixed it, i just renamed my script to (map name)_loop.script

That didn't work either, i gived up on that and tried this:

player check armour armourValue

if $armourValue == 10 {

    entity delete 15 9 0

map return


I wanted the script to check the value of  the armour, if its 10 then the decoration in the coords gets deleted... But that didnt work either.

Do you know what am doing wrong in my script?

this is my script (am a beginer at scripting)


auto 1  

if $armour1 == 0 {

    entity delete 15 9 0  

}



so basically, i want that if there is 0 armour1 objects in the map, the entity at said coordinates gets deleted.