#Blasters Problem

1 messages · Page 1 of 1 (latest)

rain whale
#

hi

elder apex
#

Can you explain in a different way your problem?
Problem is that coroutine before the timer is over make a cloned blaster but don't blast but, after the timer is over the coroutine spawns cloned blaster but blast without doing the ready to blast animation.

Try explaining one issue at a time, not all at once

#

What have you tried so far?

rain whale
#

pl

#

ok i will give an example

#

i will give u a video if what should be like and what is happing to mine

elder apex
#

I am not really understanding the differences from the videos you sent, never played undertale

#

i'll rewatch

rain whale
#

complete my video my courser was in the problem

elder apex
#

I think i get it now

rain whale
#

i hope so

elder apex
#

You want to do the following:
Spawn the head, attack with delay, leave and repeat, right?

rain whale
#

yes

#

THANK GOD

elder apex
#

And what you got so far is the head that attacks but, when it spawns again, its already attacking

rain whale
#

OMG YESSS

#

so I am bad at English so I don't know how to explain my problem

#

Do I send the code?

elder apex
#

its okay

#

i think i have it here, let me check

rain whale
#

ok

elder apex
rain whale
#

Yes that is my code

elder apex
#

Can you explain quickly what it does? It handles the heads spawning and blasters separately?

rain whale
#

Oh the blaster script?

elder apex
#

AH i get the file now, i didnt understand why there was a second class but its because i didn't read the comment you left :)))

rain whale
#

So the params are simple I made a switch for direction and Instantaite the blaster and , I used a library called leantween to move my blaster and make them do the animation and stuff

#

ohhhh that's fine :))))

elder apex
#

Are you ever setting these animator values to false?

rain whale
#

Do you mind go to direct messages?

#

eh no

#

I will destroy the game cloned game object