I've tried many ways to make it so the additemcommand only appears on actor() to partial success. I got it so only actor() can open item window in battle, but the command item still appears in actorcommand window...
I can't seem to identify the active id of the member i'm selecting an action for. If I can get that variable specified, I should be able to finish the script
looks good to me, but why are you adding attribute readers for actor and actor_id in Window_ActorCommand?
@actor is an instance variable of that class, so you it's not necessary and the actor_id is inside the @actor, you made that already "visible" to the outside with the attribute reader in Game_Actor.
if I didn't, the script wont work. it still comes up nil, or errors out somewhere else.
If I got rid of the attr_readers (any one) the script doesn't work
@actor, from what it seems, comes up 0 or 1 (actor inactive or active), so I had to read actor and actor_id
that was one of the first sets I tried, but it was coming up nil errors...
do you have any other scripts in that project?
I tired this in a brand new one and it worked Oo?
I have 13 scripts in the game so far
Does any of them do anything with Window_ActorCommand?
It could be that one of them edits the standard behavior of the window/what is saved in the @actor variable