Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How would i go about this?


or3o
 Share

Recommended Posts

i wanna make it so when i step on a certian kind of tile then a command button becomes visible in my game but i dont know how. im just wondering if its possible to do from the server or do i need to add all new constants for it?
Link to comment
Share on other sites

Its actually very simple or3o, presuming I understand exactly what you mean.

Using Map.Tile with player.x and player.y you can easily check if a player is on a specific tile -

> If Map.Tile(Player(MyIndex).x, Player(MyIndex).y).Type = TILE_TYPE_RESOURCE Then
>
> Do random stuff here
>
> Do more stuff
>
> End if

Hope this helps
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...