Forum

> > CS2D > Scripts > entity(x,y,"value")
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch entity(x,y,"value")

1 Antwort
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt entity(x,y,"value")

EnderCrypt
User Off Offline

Zitieren
hi
i got a question
does type return id of that tile?

also how do i do to know if that id is a wall or deadly
i want to get true when its somheting a player can walk on

alt Re: entity(x,y,"value")

EngiN33R
Moderator Off Offline

Zitieren
It's entity, not tile.
Use tile(x,y,"frame") to get tile's frame and tile(x,y,"property") to, obviously, get its property. 1 is wall, 2 is obstacle, etc. Look it up.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht