Aldeia RPG

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

Suporte ao desenvolvimento de jogos


2 participantes

    Player Atravessando NPC

    thales12
    thales12
    Membro de Honra
    Membro de Honra


    Mensagens : 322
    Créditos : 108

    Ficha do personagem
    Nível: 1
    Experiência:
    Player Atravessando NPC Left_bar_bleue0/0Player Atravessando NPC Empty_bar_bleue  (0/0)
    Vida:
    Player Atravessando NPC Left_bar_bleue30/30Player Atravessando NPC Empty_bar_bleue  (30/30)

    Player Atravessando NPC Empty Player Atravessando NPC

    Mensagem por thales12 Qui Jul 28, 2011 9:30 pm

    Abra o Client~Side e na modGameLogic procure por:

    Código:
     'Check to see if a npc is already on that tile
            For i = 1 To Npc_HighIndex
                If MapNpc(i).num > 0 Then
                    If MapNpc(i).x = x Then
                        If MapNpc(i).y = y Then
                            CheckDirection = True
                            Exit Function
                        End If
                    End If
                End If
            Next
    e mude para:

    Código:
    ' Check to see if a npc is already on that tile
          '  For i = 1 To Npc_HighIndex
          '      If MapNpc(i).num > 0 Then
          '        If MapNpc(i).x = x Then
            '            If MapNpc(i).y = y Then
            '              CheckDirection = True
              '              Exit Function
              '        End If
              '      End If
            '  End If
          ' Next
    Créditos: thales12 por fazer o tutorial.


    _________________
    Meu fã ? Meu Amigo ? Entao Use !

    Player Atravessando NPC Thalesfan
    Player Atravessando NPC Mv0yg8

    Minha Sign:

    Player Atravessando NPC Zkqt5e
    Juton
    Juton
    Experiente
    Experiente


    Mensagens : 486
    Créditos : 129

    Player Atravessando NPC Empty Re: Player Atravessando NPC

    Mensagem por Juton Qui Jul 28, 2011 9:36 pm

    Legal agora a area do EO encheu um pouco! Successful

    +Cred Tuto simples e legal!

      Data/hora atual: Qui Mar 28, 2024 10:12 am