You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solution requires calling an array variable called that is not defined anywhere before.
Defining it inside the function prints out an error, even though the script functions the same.
Solution provided by GDQuest:
func run():
combo = ["jab", "jab", "uppercut"]
for action in combo:
play_animation(action)
Alternative solution that does not get accepted:
func run():
var combo = ["jab", "jab", "uppercut"]
for action in combo:
play_animation(action)
The text was updated successfully, but these errors were encountered:
Solution requires calling an array variable called that is not defined anywhere before.
Defining it inside the function prints out an error, even though the script functions the same.
Solution provided by GDQuest:
Alternative solution that does not get accepted:
The text was updated successfully, but these errors were encountered: