Dec 17 2012, 7:18 am
|
|
o ok i ill try i tnow, lol i feel so dumb
|
How does your code look like as of now?
Also, what is your map size? Are you starting at 1,1,1? Does your board cover the whole map? |
i have 100 turfs
each one is the same as this turf and the Dice verb u provided however, now it doesnt give me th emessage like before |
You don't have to override New on every turf you have. Just do it the way I did.
turf |
Does your board cover the whole map?
Have you overridden Move anywhere else? If changing Move(turf.next) to loc = turf.next fixes the problem, one of your movement procs are interfering. |
i used Move only under client to prevent using arrows, and yes the board covers the whole map
Uploaded with ImageShack.us |
i used loc = turf.net and it works however the player can move on the brown sides so in world.maxx i added world.maxx-1 and now it doesnt loc on the sides at the right but it locs on the sides at the left,
|
The problem is that the code I have provided assumes that every turf is part of the board (without borders).
|
In response to Jemai1
|
|
when i made world.maxx-1 it not longer considers the borders on the right part of the board, is there a world. that cheks the left side of the map??
|
Left side's x coordinate is 2.
Also, because of the border, even and odd rows were interchanged. |
In response to Jemai1
|
|
THANKS alot it works perfectly now, i fanned u :P
|
If the border is only for aesthetic purposes, you can add it on the skin instead.
|
In response to Jemai1
|
|
can i use Entered() when a player locs to a turf? or only with Move()?
|