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.
A free tool for creating oldschool FPS games · By
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?