Hi all, I'm a novice when it comes to scripting and I'm currently struggling through something simple.
I'm trying to create an event that unlearns every single skill through a call loop related to a variable, I found this method through an MV forum. Obviously the syntax is different for Ace, and I can't figure this out for the life of me...
Example for MV:
Variable X = 0. Loop is started:
Add 1 to X
Script call: "$gameActors.actor(actorId).forgetSkill($gameVariables.value(X));"
If X >= (your last skill ID) then break loop
This is the script call I have currently when trying to translate to Ace (this crashes the game):
$game_actors[001].forget_skill($game_variables[$game_variables.value[0005]])
Can anyone help me create the proper syntax for Ace that won't crash my project? Thanks in advance!
I'm trying to create an event that unlearns every single skill through a call loop related to a variable, I found this method through an MV forum. Obviously the syntax is different for Ace, and I can't figure this out for the life of me...
Example for MV:
Variable X = 0. Loop is started:
Add 1 to X
Script call: "$gameActors.actor(actorId).forgetSkill($gameVariables.value(X));"
If X >= (your last skill ID) then break loop
This is the script call I have currently when trying to translate to Ace (this crashes the game):
$game_actors[001].forget_skill($game_variables[$game_variables.value[0005]])
Can anyone help me create the proper syntax for Ace that won't crash my project? Thanks in advance!

