#How to do a melee?
1 messages · Page 1 of 1 (latest)
For 3 animetions. Make a number variable
For first
If variable = 1 ↓Execute player play animetion
↓ Execute generate hitbox
Set variable +1
Do it again and change the variable = 2, also if theres different animetions
Then
If variable = 3 ↓Execute player play animetion
↓ Execute generate hitbox
Set variable = 1
How could I do this? I didn't quite understand
Just follow it
I followed it, but the IF didn't make a bit of sense, like:
In this case, would I have to make 3 types of hitbox for 3 attacks?
Maybe it can be random damages if you want.
Btw i said numberic variable = 1 to 3
It was a test bro, I'll change that later
Alr alr
Nah
Btw you can put another if underneath the animetion
If player motion = -1 or 1
Generate the hitbox -1 or 1
Its just when the player is facing left or right
I'm probably being dumb
Uh..
To make a variable
Go to a player attribute
Then you see the variable on the top
Make one
Turn save to cloud off
I did it, but I can't put it in "Local Variable" And I didn't find variable player in the Scripts
Idk anymore
I don't understand bro
Seriously, it's not easy to understand
Would that be it?
OK I understand
Now is it right?
Ye
Change the first nunber to player variable that is the one for the numberic and name it attacks
.
I have told you
.
No you didn't say, you said where to create
But relax, I already found it
Click the empty space
Right
.
Add number.
.
Did ya put this
This
Leave it alone, you don't explain it well. I understand, you're trying to help, but there's no way to do it this way.
You go straight to the point, you don't explain it in parts, now it was: Put this BUT WHERE DO I PUT IT??????
Leave it alone, and thanks for trying to help me, I'll try it myself
Thanks for trying to help
:(
Im just sleepy :(
You don't explain it properly, I just got stressed out
😔
I deleted everything, I'm going to try to do something new using your idea, because surprisingly the first script worked, there was just one little problem that I could fix.
😔
Try to explain again, but in parts, not going straight to the point.
Try to explain it this way, but with more details.
Im not good at explaining :'(
77 messages just to make a melee
Yeah
Try again
Bro it's 4 am on me trying to help you 😔
Where do you live?
Damn
Could you try to explain it again? Try it lucidly.
Enjoy your time while you're not sleeping
For that set variable thing
If your trying to make 3 animetions you could use them
Animations*
I will try to do
It cost
Try to sleep man
I got auto correct
So the variable is adding for different animations
Each variable = maybe different animations, maybe different damages
I will only do melee damage
The base is done, now it's time to learn how to add other animations
The script I used was this one
Relax, quick, just to see if it's right
See this, it was like that, right?