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.

(JASS) Revivendo herois

+3
Bills
WaaR.SiiDe
Victor Vaz
7 participantes

Ir para baixo

(JASS) Revivendo herois Empty (JASS) Revivendo herois

Mensagem por Victor Vaz 2011-02-05, 08:51

Olá gente hoje vou mostrar como reviver um heroi com mensagem e com trigger jass.
1ºCrie uma região com o nome de Team Kings.
2ºVá no Trigger Editor e crie um Jass trigger com o nome de Reviver Heroi.
3ºE cole esse codigo:
Código:
function Trig_Reviver_Heroi_Actions takes nothing returns nothing
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_097" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_098" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_099" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_100" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_101" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_102" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_103" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_104" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_105" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_106" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_107" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_108" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_109" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_110" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_111" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_112" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_113" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_114" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_115" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_116" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_117" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_118" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_119" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_120" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_121" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_122" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_123" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_124" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_125" )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_126" )
    call TriggerSleepAction( 1.00 )
    call ReviveHeroLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Team_Kings), true )
    call TriggerSleepAction( 1.00 )
    call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_127" )
    call TriggerSleepAction( 3.00 )
    call DestroyLeaderboardBJ( GetLastCreatedLeaderboard() )
endfunction

//===========================================================================
function InitTrig_Reviver_Heroi takes nothing returns nothing
    set gg_trg_Reviver_Heroi = CreateTrigger(  )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_Reviver_Heroi, EVENT_PLAYER_UNIT_DEATH )
    call TriggerAddAction( gg_trg_Reviver_Heroi, function Trig_Reviver_Heroi_Actions )
endfunction

Victor Vaz
Victor Vaz

Número de Posts : 336
Data de inscrição : 06/01/2011
Reputação : 10 Pontos : 26217

Warning Necropost
(JASS) Revivendo herois Left_bar_bleue15 / 10015 / 100(JASS) Revivendo herois Right_bar_bleue


https://www.victorvaz.com

Ir para o topo Ir para baixo

(JASS) Revivendo herois Empty Re: (JASS) Revivendo herois

Mensagem por WaaR.SiiDe 2011-02-06, 05:53

Pode ser Util algum dia Mais para nao correr o risco ja aprendi testei e deu Certo Very Happy
WaaR.SiiDe
WaaR.SiiDe

Número de Posts : 28
Data de inscrição : 06/02/2011
Reputação : 1 Pontos : 24033

Warning Necropost
(JASS) Revivendo herois Left_bar_bleue0 / 1000 / 100(JASS) Revivendo herois Right_bar_bleue


Ir para o topo Ir para baixo

(JASS) Revivendo herois Empty Re: (JASS) Revivendo herois

Mensagem por Bills 2011-02-13, 17:23

PQP... vai postar essas triggers em lugar de GUI pow...
Oque você faz é simplesmente criar uma trigger... encher de fucntions e converte-las...

Se você quer ensinar jass, primeiro aprenda! E aprendar usando o JNPG, eu aconselho.

Flw^^

@EDIT

Tem leak nessa cagada sua... como você faz algo com leak pros outros?
Bills
Bills

Número de Posts : 1446
Data de inscrição : 04/12/2010
Reputação : 173 Pontos : 30879

Warning Necropost
(JASS) Revivendo herois Left_bar_bleue35 / 10035 / 100(JASS) Revivendo herois Right_bar_bleue


Ir para o topo Ir para baixo

(JASS) Revivendo herois Empty Re: (JASS) Revivendo herois

Mensagem por Iky 2011-04-03, 02:26

realmente bills, se forem querer ensinar jass primeiro aprenda, eu to aprendendo de inicio, fazendo comandos com GUI, entende-las e usalas depois.REALMENTE esta com leak, com esse tanto de wait, nao era de se espar eee bills o que é esse jnpg??
Iky
Iky

Número de Posts : 2065
Data de inscrição : 06/04/2010
Reputação : 99 Pontos : 30254

Warning Necropost
(JASS) Revivendo herois Left_bar_bleue10 / 10010 / 100(JASS) Revivendo herois Right_bar_bleue


http://icaro.glauco

Ir para o topo Ir para baixo

(JASS) Revivendo herois Empty Re: (JASS) Revivendo herois

Mensagem por Bills 2011-04-03, 10:37

@Iky

JNPG é o Jass New Gen Pack, um world editor modificado. Com algumas functions de GUI novas (não aconselho usa-las) e compilador de vJass (linguagem avançada de Jass). Também permite outras coisinhas, como colocar varios tilesets diferentes, almentar limite do mapa, etc.
Aqui no forum tem até um link. Mas o link daqui está desatualizado. Eu aconselho baixar o do BlizzEditors, um amigo nosso atualizou lá.

LINK
Bills
Bills

Número de Posts : 1446
Data de inscrição : 04/12/2010
Reputação : 173 Pontos : 30879

Warning Necropost
(JASS) Revivendo herois Left_bar_bleue35 / 10035 / 100(JASS) Revivendo herois Right_bar_bleue


Ir para o topo Ir para baixo

(JASS) Revivendo herois Empty Re: (JASS) Revivendo herois

Mensagem por XxDarckhack 2011-04-03, 11:10

Mto Legal mais eu gostei mesmo foi do nome da regiao Team kings
XxDarckhack
XxDarckhack

Número de Posts : 386
Data de inscrição : 02/04/2011
Reputação : 27 Pontos : 24452

Warning Necropost
(JASS) Revivendo herois Left_bar_bleue25 / 10025 / 100(JASS) Revivendo herois Right_bar_bleue


Ir para o topo Ir para baixo

(JASS) Revivendo herois Empty Re: (JASS) Revivendo herois

Mensagem por Iky 2011-04-03, 12:28

@bills vlw ai o link vou treinar aqui....
Iky
Iky

Número de Posts : 2065
Data de inscrição : 06/04/2010
Reputação : 99 Pontos : 30254

Warning Necropost
(JASS) Revivendo herois Left_bar_bleue10 / 10010 / 100(JASS) Revivendo herois Right_bar_bleue


http://icaro.glauco

Ir para o topo Ir para baixo

(JASS) Revivendo herois Empty Re: (JASS) Revivendo herois

Mensagem por Bills 2011-04-03, 12:59

Iky escreveu:@bills vlw ai o link vou treinar aqui....

Se tiver alguma duvida, to aqui =P


XxDarckhack escreveu:Mto Legal mais eu gostei mesmo foi do nome da regiao Team kings

Que post random .-.
Bills
Bills

Número de Posts : 1446
Data de inscrição : 04/12/2010
Reputação : 173 Pontos : 30879

Warning Necropost
(JASS) Revivendo herois Left_bar_bleue35 / 10035 / 100(JASS) Revivendo herois Right_bar_bleue


Ir para o topo Ir para baixo

(JASS) Revivendo herois Empty Re: (JASS) Revivendo herois

Mensagem por XxDarckhack 2011-04-04, 17:34

@Bils
Que post random .-.

KKKKKK FICO MTO BOM !
XxDarckhack
XxDarckhack

Número de Posts : 386
Data de inscrição : 02/04/2011
Reputação : 27 Pontos : 24452

Warning Necropost
(JASS) Revivendo herois Left_bar_bleue25 / 10025 / 100(JASS) Revivendo herois Right_bar_bleue


Ir para o topo Ir para baixo

(JASS) Revivendo herois Empty Re: (JASS) Revivendo herois

Mensagem por RicK.BoY.BR 2011-07-14, 18:12

para reviver os heroes utilizo isso aqui:
http://world-editor-tutorials.thehelper.net/revive.php

problema q ele revive no mesmo lugar no centro do mapa e nao acho um jeito o Troia mostrou um jeito mas o tempo na distrói di jeito nenhum todo esta certo mas nao distroi
RicK.BoY.BR
RicK.BoY.BR

Número de Posts : 147
Data de inscrição : 01/07/2011
Reputação : 2 Pontos : 23537

Warning Necropost
(JASS) Revivendo herois Left_bar_bleue0 / 1000 / 100(JASS) Revivendo herois Right_bar_bleue


Ir para o topo Ir para baixo

(JASS) Revivendo herois Empty Re: (JASS) Revivendo herois

Mensagem por TAKA.Helio 2011-07-14, 18:16

Antes de postar, verifique quanto tempo o tópico está parado, ou sem respostas, evite o ressuscitamento de tópicos.
TAKA.Helio
TAKA.Helio

Número de Posts : 1644
Data de inscrição : 19/06/2011
Reputação : 63 Pontos : 26394

Warning Necropost
(JASS) Revivendo herois Left_bar_bleue0 / 1000 / 100(JASS) Revivendo herois Right_bar_bleue


http://www.digitalart.forumeiros.com

Ir para o topo Ir para baixo

(JASS) Revivendo herois Empty Re: (JASS) Revivendo herois

Mensagem por RicK.BoY.BR 2011-07-14, 18:24

vou ser reconhecido como o resucitor de topicos
RicK.BoY.BR
RicK.BoY.BR

Número de Posts : 147
Data de inscrição : 01/07/2011
Reputação : 2 Pontos : 23537

Warning Necropost
(JASS) Revivendo herois Left_bar_bleue0 / 1000 / 100(JASS) Revivendo herois Right_bar_bleue


Ir para o topo Ir para baixo

(JASS) Revivendo herois Empty Re: (JASS) Revivendo herois

Mensagem por Conteúdo patrocinado


Conteúdo patrocinado


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