Sinmora Member 35 Aug 19, 2006 #1 Ok, this is a very simple problem Im sure. How do I add and remove skills from actors. Please and thankyou.
Ok, this is a very simple problem Im sure. How do I add and remove skills from actors. Please and thankyou.
Dargor Sponsor 1,845 Aug 19, 2006 #2 Use Change Skill in the 3rd tab of event commands. Unless you want to do this by scripting? Upvote 0 Downvote
Aran Member 882 Aug 19, 2006 #3 its in Game_Actor. the method should be called learn_skill and forget_skill I haven't lookd (mainly cuz i'm lazy by this time of the day) Upvote 0 Downvote
its in Game_Actor. the method should be called learn_skill and forget_skill I haven't lookd (mainly cuz i'm lazy by this time of the day)
Sinmora Member 35 Aug 19, 2006 #4 Ok, I tried but that doesnt seem to be it. I used the code below, and the id 7 is fire. Code: skill = Game_Actor.new skill.skill_learn?(7) Code: skill = Game_Actor.new skill.learn_skill(7) Code: Class < Game_Actor def learn_skill super(7) end end Code: $game_actor.learn_skill(7) Upvote 0 Downvote
Ok, I tried but that doesnt seem to be it. I used the code below, and the id 7 is fire. Code: skill = Game_Actor.new skill.skill_learn?(7) Code: skill = Game_Actor.new skill.learn_skill(7) Code: Class < Game_Actor def learn_skill super(7) end end Code: $game_actor.learn_skill(7)
Daniel Member 186 Aug 19, 2006 #5 Just use: Code: $game_actors[id].learn_skill(7) Replace id with the actor's id in the database. Upvote 0 Downvote
Sinmora Member 35 Aug 19, 2006 #6 HUZZAAAAAAH. It works. Thank you verrrrry much. :D Upvote 0 Downvote