Jump to content

Respawn trigger event


Recommended Posts

Olá, resolvi adicionar este trigger há uns tempos, pode dar jeito a alguém então fica aqui. O trigger é ativado quando o jogador clica no "recomeçar aqui".

Tutorial:

Spoiler

quest.h:

Spoiler

Procurar:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

em baixo:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

questmanager.cpp:

Spoiler

Procurar:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

por baixo:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Procurar:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

por baixo da função inteira:

Spoiler

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

 

questmanager.h:

Spoiler

Procurar:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

por baixo:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

questnpc.cpp:

Spoiler

Procurar:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

por baixo da função inteira:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

questnpc.h:

Spoiler

Procurar:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

por baixo:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

cmd_general.cpp:

Spoiler

Procurar:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

procurar na função:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

depois da segunda ocorrência, colocar ANTES do break:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

 

Dúvidas? Correções? Maneiras de melhorar o código? Coloquem nos comentários.

Síntaxe:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Edited by oserra
Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...