Forum

> > CS2D > Scripts > entity(x,y,"value")
Forums overviewCS2D overview Scripts overviewLog in to reply

English entity(x,y,"value")

1 reply
To the start Previous 1 Next To the start

old entity(x,y,"value")

EnderCrypt
User Off Offline

Quote
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

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

EngiN33R
Moderator Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview