-
Notifications
You must be signed in to change notification settings - Fork 2.2k
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do one thing one after the other (Lua) #10089
Comments
|
What would you put in the (tag)? Like the name of the tween? |
|
It doesn't seem to be working, maybe it's because my first tween is under |
You are doing a tween every step and doing two tweens at once |
I know I am, but I don't know how to fix it |
Make one tween and loop it with the function I mentioned |
How? (sorry, I'm not smart) |
make one tween, under the new function you can check the current angle and do the other tween to create the loop |
How do you check the current angle? |
|
Nope, just checked |
you need at least one |
I think you also need to put "gfRotateL" in |
it's getting there but you're not checking the angle value |
check to see if this works. |
does the desired angle go in quotations? |
alternatively:
|
yeah that's correct, now you need to add the other tween using |
She still won't rotate to the right |
Maybe it's because it's waiting for the 2 really long tweens I have to finish instead of the angle tween |
If you were talking about the snippet I pasted, I forgot to change "gfRotateL" to "gfRotateR", |
which "gfRotateL"? |
Is there a way to maybe instead of making it wait for the tween to finish, just waiting like 50 steps and then playing the next one, and then waiting again |
If it's ok I'm just gonna work on this some other time, because this is making my brain hurt. |
|
Describe your problem here.
I want to rotate gf left, then rotate her right. But I'm not sure how to make the game wait for her to finish rotating in one direction before rotating in the other.
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response
The text was updated successfully, but these errors were encountered: