or3o Posted August 23, 2012 Author Share Posted August 23, 2012 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 More sharing options...
zerohero Posted August 23, 2012 Share Posted August 23, 2012 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 ifHope this helps Link to comment Share on other sites More sharing options...
or3o Posted August 23, 2012 Author Share Posted August 23, 2012 wow that was easy lol thanks a ton! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now