[DUVIDA] Quest System Kill Count
2 participantes
Página 1 de 1
[DUVIDA] Quest System Kill Count
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
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
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
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- Número de Posts : 37
Data de inscrição : 14/11/2011
Reputação : 9 Pontos : 24273
Re: [DUVIDA] Quest System Kill Count
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.
Tópicos semelhantes
» [Duvida] Battle System / Combat System
» [Duvida] Modo de 100 kill
» [Duvida] [SistemaStrike] - Arrumando o SOM da KILL!
» [System]WoW Hero Respawn System
» (Duvida Quest Itap.)
» [Duvida] Modo de 100 kill
» [Duvida] [SistemaStrike] - Arrumando o SOM da KILL!
» [System]WoW Hero Respawn System
» (Duvida Quest Itap.)
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos