Vila RPG BR
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Player Atravessando Player

Ir para baixo

Player Atravessando Player Empty Player Atravessando Player

Mensagem por RenanR Qua Out 12, 2011 8:40 pm

bom e simples e facil ..

Abra o Client~Side e na modGameLogic procure por:

Código:
' Check to see if a player is already on that tile
    For i = 1 To Player_HighIndex
        if IsPlaying(i) And GetPlayerMap(i) = GetPlayerMap(MyIndex) Then
            If GetPlayerX(i) = x Then
                If GetPlayerY(i) = y Then
                    CheckDirection = True
                  Exit Function
              End If
            End If
        End If
    Next i


e mude para:

Código:
' Check to see if a player is already on that tile
  '  For i = 1 To Player_HighIndex
        'if IsPlaying(i) And GetPlayerMap(i) = GetPlayerMap(MyIndex) Then
          '  If GetPlayerX(i) = x Then
        '        If GetPlayerY(i) = y Then
      '            CheckDirection = True
      '              Exit Function
    '          End If
    '        End If
  '    End If
  '  Next i

Créditos: Thales12 por fazer o tutorial.
RenanR por postar na VilaRPG BR
RenanR
RenanR
Iniciante
Iniciante

Mensagens : 7
Pontuação : 11
Créditos : 1

Ir para o topo Ir para baixo

Ir para o topo


 
Permissões neste sub-fórum
Não podes responder a tópicos