Would it or will it be possible to use a variable for actor cell
Using Hime's party script, I was able to find a way to get an actor's Id from the script calls, (from a secondary party).
Would it be possible to bind this to say \v[300]
then when i create a cell use <Actor Cell: \v[300]> or <Actor Cell: v[300]>
to call that very specific character.
I have an idea to "Split up the party" but have them fight on the same map (like one team is ground level, the other is top level.
It would also work to have like "Support" units that don't normally appear in party, but are there when you fight.
EDIT: I guess I'm pretty awesome:
add this:
else if (note.match(/<Var Cell\s?:\s?(.+)>/i)) {
data.type = "actor";
var varcellval = Number(RegExp.$1);
data.fixed = $gameVariables.value(varcellval);
}
to BattleManagerTBS.createStartCells
after
else if (note.match(/<Actor Cell\s?:\s?(.+)>/i)) {
data.type = "actor";
data.fixed = Number(RegExp.$1);
}
Then use the notetag <Var Cell: 501>
instead of <Actor Cell> etc.
And it will pull the Value of variable 501 into the cell.
So if you set 501 to 18, before the battle, then Actor 18 will be pulled in.
This would actually be helpful for players that want to change an assist unit, you store the id of the assist into this variable, then you can change it on the fly in the menu and it will update in the next battle.
EDIT: anyone wanting to use this, be very careful when adding it. I won't take responsibility for broken scripts.
EDIT2: Update: Turns out The system is robust enough that if <Actor Cell: 0> is used, it treats it as a normal cell. No errors. Same for uninitialized variables.