TeaM KingS
[center]Ola Convidado, seja bem vindo ao TeaM KingS !

Nós temos tutoriais sobre o WarCraft World Editor: se você tiver alguma duvida pode perguntar que os moderadores ou membros experientes vão lhe ajudar.

Para melhor utilizar nossos recursos é extremamente recomendado que esteja logado em nosso fórum e que leia o nosso regulamento oficial.

Também temos fóruns sobre DotA AllstarS, com guias, estratégias, e muito mais!




Participe do fórum, é rápido e fácil

TeaM KingS
[center]Ola Convidado, seja bem vindo ao TeaM KingS !

Nós temos tutoriais sobre o WarCraft World Editor: se você tiver alguma duvida pode perguntar que os moderadores ou membros experientes vão lhe ajudar.

Para melhor utilizar nossos recursos é extremamente recomendado que esteja logado em nosso fórum e que leia o nosso regulamento oficial.

Também temos fóruns sobre DotA AllstarS, com guias, estratégias, e muito mais!


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

[DUVIDA] Quest System Kill Count

2 participantes

Ir para baixo

[DUVIDA] Quest System Kill Count Empty [DUVIDA] Quest System Kill Count

Mensagem por Devinganca 2014-03-04, 00:04

BM Gallantmon Accept ( Aceitar a Quest)
    Events
        Unit - A unit comes within 400.00 of Gallantmon 0004
    Conditions
        ((Unit-type of (Triggering unit)) Equal to Guilmon) and ((Level of (Triggering unit)) Equal to 65)
    Actions
        Trigger - Turn off (This trigger)
        Quest - Create a Required quest titled Quest BM Gallantmon with the description Awakening Mode Gall..., using icon path ReplaceableTextures\CommandButtons\BTN3M3.blp
        Quest - Flash the quest dialog button
        Set Quest_Adquire[1] = (Last created quest)
        Quest - Create a quest requirement for (Last created quest) with the description kill 3 Guilmon
        Set Quest_requirement[1] = (Last created quest requirement)
        Quest - Create a quest requirement for (Last created quest) with the description kill 3 Guilmon
        Quest - Display to (Player group((Owner of (Triggering unit)))) the Quest Update message: Sometimes Guilmons ...

Parte 2 Completando a quest, e indo para a parte final
BM Gallantmon Begins ( Kill Count) o poblema esta por aqui [DUVIDA] Quest System Kill Count 439928
    Events
        Unit - A unit Dies
    Conditions
    Actions
        Set Quest_kill_count[1] = (Quest_kill_count[1] + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Unit-type of (Dying unit)) Equal to Guilmon
            Then - Actions
                Quest - Change the description of (Last created quest requirement) to ((Name of (Dying unit)) + ( killed:  + ((String(Quest_kill_count[1])) + /3)))
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Quest_kill_count[1] Greater than or equal to 3
            Then - Actions
                Quest - Mark Quest_requirement[1] as Completed
                Quest - Create a quest requirement for Quest_Adquire[1] with the description Return to Gallantmo...
                Quest - Create a quest requirement for Quest_Adquire[1] with the description Return to Gallantmo...
                Quest - Mark Quest_Adquire[1] as Completed
                Trigger - Turn on BM Gallantmon Final
            Else - Actions

Parte FINAL fiz em 2 parte uma para matar uns bicho lah e otra para matar o boss que vai dar o item da BM
BM Gallantmon Final
    Events
        Unit - A unit comes within 400.00 of Gallantmon 0004
    Conditions
        ((Unit-type of (Triggering unit)) Equal to Guilmon) and ((Level of (Triggering unit)) Equal to 65)
    Actions
        Trigger - Turn off (This trigger)
        Quest - Create a Required quest titled Quest Final BM with the description Kill me Prove your ..., using icon path ReplaceableTextures\CommandButtons\BTNRune.blp
        Quest - Flash the quest dialog button
        Set Quest_Adquire[2] = (Last created quest)
        Quest - Create a quest requirement for (Last created quest) with the description kill Gallantmon 0/1
        Set Quest_requirement[2] = (Last created quest requirement)
        Quest - Create a quest requirement for (Last created quest) with the description kill Gallantmon 0/1
        Set Quest_requirement[2] = (Last created quest requirement)
BM Gallantmon End
    Events
        Unit - A unit Dies
    Conditions
    Actions
        Set Quest_kill_count[2] = (Quest_kill_count[2] + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Unit-type of (Dying unit)) Equal to Gallantmon
            Then - Actions
                Quest - Change the description of Quest_requirement[2] to ((Name of (Dying unit)) + ( killed:  + ((String(Quest_kill_count[2])) + /1)))
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Quest_kill_count[2] Greater than or equal to 1
            Then - Actions
                Quest - Mark Quest_requirement[2] as Completed
                Quest - Mark Quest_Adquire[2] as Completed
                Quest - Create a quest requirement for Quest_Adquire[2] with the description Return to Gallantmo...
            Else - Actions
O Poblema meu aqui esta no kill count que mistura com essa aqui, detalhe usei variavel array, se alguem souber ai me da uma mao
Devinganca
Devinganca

Número de Posts : 37
Data de inscrição : 14/11/2011
Reputação : 9 Pontos : 23223

Warning Necropost
[DUVIDA] Quest System Kill Count Left_bar_bleue0 / 1000 / 100[DUVIDA] Quest System Kill Count Right_bar_bleue


Ir para o topo Ir para baixo

[DUVIDA] Quest System Kill Count Empty Re: [DUVIDA] Quest System Kill Count

Mensagem por Law.Terro 2014-03-04, 08:17

Coloque Set Quest_kill_count[1] = (Quest_kill_count[1] + 1) dentro da If e teste, caso não dê certo, procure um tutorial aqui no forum, com certeza vai achar um desses.
Law.Terro
Law.Terro

Número de Posts : 1243
Data de inscrição : 18/07/2011
Reputação : 107 Pontos : 29972

Warning Necropost
[DUVIDA] Quest System Kill Count Left_bar_bleue0 / 1000 / 100[DUVIDA] Quest System Kill Count Right_bar_bleue


http://againstattack.blogspot.com.br/

Ir para o topo Ir para baixo

Ir para o topo

- Tópicos semelhantes

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