#COMO EU FAÇO PARA QUANDO O PLAYER CLICA NO BOTÃO O PERSONAGEM ACTOR FAZ ANIMAÇÃO PRA ATACAR

1 messages · Page 1 of 1 (latest)

lethal oyster
#

When tapped
Script
Set self tappable enable = false
[Assuming the player has a damage component]
Set main actor/player current actor damage enable = true
Execute MA/PCA command animate (attack anim)
Set MA/PCA damage enable = false
Set self tappable enable = true

coarse edge
lethal oyster
coarse edge
coarse edge
#

@lethal oyster

coarse edge
#

But what about events or operator?

#

@lethal oyster

lethal oyster
coarse edge
lethal oyster
#

You just took a self attribute

#

it needs to be on a set

coarse edge
#

Sorry I'm slow

lethal oyster
coarse edge
#

@lethal oyster Improved?

lethal oyster
coarse edge
#

So what about removing the execute switich ui?

#

@lethal oyster

coarse edge
coarse edge
coarse edge
#

@little zinc Bro, I did what you said but instead of it dealing damage it teleports to the enemy

little zinc
#

U shouldn't not use the to coordinates script then