Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tile_Type_Warp Issue
#1
Client side, find this in CheckMovement:

Code:
If Player(MyIndex).XOffset > 0 Then
                If Player(MyIndex).YOffset > 0 Then
                    If Map.Tile(GetPlayerX(MyIndex), GetPlayerY(MyIndex)).Type = TILE_TYPE_WARP Then
                        GettingMap = True
                    End If
                End If
            End If

Replace that with this:

Code:
If Map.Tile(GetPlayerX(MyIndex), GetPlayerY(MyIndex)).Type = TILE_TYPE_WARP Then
               GettingMap = True
           End If
Reply
#2
DFA Wrote:we would like it so u warped after u walked to the tile, instead of right when u press the button...

Yes, but there's a problem with the method you had. You wouldn't warp to the right spot. You'd end up out of sync with the server and when you used the warp tile, you would see the old map with the new map's tile set.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)