Sakura Martinez
Member
Hi, I'm just beginning to learn and I wanted to ask how do you change actors using a script?
I'm trying to make a Digivolution script that acts just like in Digimon World X (Digimon Wolrd 4) where there is a menu of choosing which Digimon you want to digivolve.
Anyways, I have this code, which is part of an even larger code:
I do not know if it is right, but it is part of the code for choosing the evolve command from a menu. I wanted to make it so that if the second game actor (which is the main Digimon actor) is not the same as the evolution's character actor, it would become that actor, otherwise the evolve option would not be selectable. I hope that made some sense, anyway, I'm just beginning to script...
I'm trying to make a Digivolution script that acts just like in Digimon World X (Digimon Wolrd 4) where there is a menu of choosing which Digimon you want to digivolve.
Anyways, I have this code, which is part of an even larger code:
Code:
when 0 #evolve
$game_system.se_play($data_system.decision_se)
if $game_actors[2] != $evolution[i].character
I do not know if it is right, but it is part of the code for choosing the evolve command from a menu. I wanted to make it so that if the second game actor (which is the main Digimon actor) is not the same as the evolution's character actor, it would become that actor, otherwise the evolve option would not be selectable. I hope that made some sense, anyway, I'm just beginning to script...