[DÚVIDA] Sobre groups
3 participantes
TeaM KingS :: Games: :: Warcraft: World Editor :: ::
Página 1 de 1
[DÚVIDA] Sobre groups
Eu queria fazer esta action funcionar só contra inimigos
Unit Group - Pick every unit in (Units within 750.00 of TargetLoc matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) is Magic Immune) Equal to False)))) and do (Actions)
Loop - Actions
Unit - Create 1 Casting Dummy / knockback for (Owner of (Triggering unit)) at TargetLoc facing Default building facing degrees
Unit - Add Knockback to (Last created unit)
Unit - Set level of Knockback for (Last created unit) to 1
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Quando tem Unit - Ordem to storm bolt picked unit , eu queria que só fosse em inimigos
Tentem fazer uma trigger pra mim igual essa usando uma skill tipo death of decay e storm bolt (para a dummy usar no inimigo) do mesmo jeito só que com aliados e inimigos dentro da área onde o death of decay irá ser usado , dai tentem fazer com que nesse círculo onde tem aliados e inimigos , só sejam stunados com storm bolt os inimigos e não todos que estejam lá dentro.
pfvvvvvvvvvvvvvvvv!
Unit Group - Pick every unit in (Units within 750.00 of TargetLoc matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) is Magic Immune) Equal to False)))) and do (Actions)
Loop - Actions
Unit - Create 1 Casting Dummy / knockback for (Owner of (Triggering unit)) at TargetLoc facing Default building facing degrees
Unit - Add Knockback to (Last created unit)
Unit - Set level of Knockback for (Last created unit) to 1
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Quando tem Unit - Ordem to storm bolt picked unit , eu queria que só fosse em inimigos
Tentem fazer uma trigger pra mim igual essa usando uma skill tipo death of decay e storm bolt (para a dummy usar no inimigo) do mesmo jeito só que com aliados e inimigos dentro da área onde o death of decay irá ser usado , dai tentem fazer com que nesse círculo onde tem aliados e inimigos , só sejam stunados com storm bolt os inimigos e não todos que estejam lá dentro.
pfvvvvvvvvvvvvvvvv!
ZX- Número de Posts : 29
Data de inscrição : 19/11/2011
Reputação : 7 Pontos : 22829
Re: [DÚVIDA] Sobre groups
simples, coloca um if com condição booleana de player
Unit Group - Pick every unit in (Units within 750.00 of TargetLoc matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) is Magic Immune) Equal to False)))) and do (Actions)
Loop - Actions
if
C> (Owner of (Picked unit)) is a enemy of (Owner of (Triggering unit)) equal true
do actions ///ai vem as actions
Unit - Create 1 Casting Dummy / knockback for (Owner of (Triggering unit)) at TargetLoc facing Default building facing degrees
Unit - Add Knockback to (Last created unit)
Unit - Set level of Knockback for (Last created unit) to 1
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
se tiver duvidas, posta, se ajudei de verdade, nao esqueça do +
Unit Group - Pick every unit in (Units within 750.00 of TargetLoc matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) is Magic Immune) Equal to False)))) and do (Actions)
Loop - Actions
if
C> (Owner of (Picked unit)) is a enemy of (Owner of (Triggering unit)) equal true
do actions ///ai vem as actions
Unit - Create 1 Casting Dummy / knockback for (Owner of (Triggering unit)) at TargetLoc facing Default building facing degrees
Unit - Add Knockback to (Last created unit)
Unit - Set level of Knockback for (Last created unit) to 1
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
se tiver duvidas, posta, se ajudei de verdade, nao esqueça do +
Re: [DÚVIDA] Sobre groups
Onde acho
(Owner of (Picked unit)) is a enemy of (Owner of (Triggering unit)) equal true
???
Tem como ensinar por group também?
(Owner of (Picked unit)) is a enemy of (Owner of (Triggering unit)) equal true
???
Tem como ensinar por group também?
ZX- Número de Posts : 29
Data de inscrição : 19/11/2011
Reputação : 7 Pontos : 22829
Re: [DÚVIDA] Sobre groups
ZX escreveu:Onde acho
(Owner of (Picked unit)) is a enemy of (Owner of (Triggering unit)) equal true
???
é uma condition Boolean.
VicToR- Número de Posts : 2002
Data de inscrição : 19/12/2010
Reputação : 243 Pontos : 26875
Re: [DÚVIDA] Sobre groups
victor nao achei nao ajuda ae
ZX- Número de Posts : 29
Data de inscrição : 19/11/2011
Reputação : 7 Pontos : 22829
Re: [DÚVIDA] Sobre groups
ZX escreveu:victor nao achei nao ajuda ae
Na hora de colocar a condição, selecione a categoria Boolean, ai creio eu que aparecerá ''Triggering Unit is Structure equal to true''
Clique em cima de ''Triggering Unit is Structure'' e abrirá outra janela, suba e encontre ''Player - Player is Enemy an Player'' mais ou menos assim, é ai que você tem que por aquela condition.
VicToR- Número de Posts : 2002
Data de inscrição : 19/12/2010
Reputação : 243 Pontos : 26875
Re: [DÚVIDA] Sobre groups
Valeu agora pode ajudar no outro tpc ?
ZX- Número de Posts : 29
Data de inscrição : 19/11/2011
Reputação : 7 Pontos : 22829
Tópicos semelhantes
» [Outra dúvida]Sobre Groups TB!
» Duvida Sobre Trigger
» [Duvida] Duvida sobre magia
» Duvida sobre AI
» Dúvida sobre o Fórum
» Duvida Sobre Trigger
» [Duvida] Duvida sobre magia
» Duvida sobre AI
» Dúvida sobre o Fórum
TeaM KingS :: Games: :: Warcraft: World Editor :: ::
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|