Hi, folks. Been plugging away at MZ and checking the forums, but just haven't been able to figure this out.
In battle, I want to display a picture over top of the battle screen when it is a specific person's turn. When Actor A is taking their turn, (selecting an item or a skill, that sort of thing), I want to display "Picture A".
Then, when Actor B takes their turn, do the same thing, but with Picture B.
My idea was that I could create a Parallel Common Event, with conditional branches that check to see who's taking their turn.
Right now, I am trying to use a script of
I can't get it to work, though. That specific example gives me a TypeError: cannot read property 'name' of undefined. I've tried a few different variations, but haven't been able to get anything to work yet.
I'm using plugins, but I don't believe they would be affecting this. I'm using the Aerosys UI plugins, as well as RemovePartyCommand, which just removes the party command window prior to battle.
Is it even possible to do something like this in MZ?
In battle, I want to display a picture over top of the battle screen when it is a specific person's turn. When Actor A is taking their turn, (selecting an item or a skill, that sort of thing), I want to display "Picture A".
Then, when Actor B takes their turn, do the same thing, but with Picture B.
My idea was that I could create a Parallel Common Event, with conditional branches that check to see who's taking their turn.
Right now, I am trying to use a script of
Code:
BattleManager.subject.name() == 'actorA_name'
I can't get it to work, though. That specific example gives me a TypeError: cannot read property 'name' of undefined. I've tried a few different variations, but haven't been able to get anything to work yet.
I'm using plugins, but I don't believe they would be affecting this. I'm using the Aerosys UI plugins, as well as RemovePartyCommand, which just removes the party command window prior to battle.
Is it even possible to do something like this in MZ?