Random Actor Assignment for Change Party Members script

koraiel

Villager
Member
Joined
Apr 6, 2018
Messages
26
Reaction score
2
First Language
English
Primarily Uses
RMMV
Okay I know the title can be a little confusing, but I have tried searching the net for something similar and have gotten nothing from it.

So, question is:
Is there a way to assign note tags to actors that allow for a random character to be assigned in that spot, similar to Yanfly's Animated Side-view Enemies plugin?

I know for Animated Side-view Enemies, in the enemy note tags, you can put <Sideview Battler: filename> and it will assign that sprite file instead of the standard file, and if you insert multiple tags of that type it will pick randomly. Just curious if it possible to assign note tags like that for actors as well.
Say I have three different races in the game world, and when you hire a merc, it will be randomly chosen from those three races (who are already set up sprites) associated with those filenames you use as the tag lines
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Why not just make 3 actors with the same class and randomize who to add.. Or just utilize the event command "change actor graphics" together with a random number call and conditional branches to "randomize" your sprite?
 

koraiel

Villager
Member
Joined
Apr 6, 2018
Messages
26
Reaction score
2
First Language
English
Primarily Uses
RMMV
that is exactly what I am trying to do but alas, I do not know exactly how to do that. You see I have a male and a female of a knight, mage, rogue, and priest that you can hire as mercs, and three different skin tones to choose from. I wanted to do just what you were saying. Didn't even think of trying the change actor graphics with a random number call.

Would you mind going into a little more detail on how to do that, because I was trying to do a randomization, but couldn't figure out how to get it to work the way I intended.

Thank you for the prompt reply as well, Engr. Adiktuzmiko.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top