Script call for "enemy transform" and "change enemy state" within battle?

Yeah! Something closer to "$game_troop.members[1].transform[3]". I already have a way of the game "knowing" which troop number to use. Unfortunatly this specific one you provided doesn't work, and gives me an error. But this is the kind of simple thing that I need, it doesn't need to be a whole system, I already have a functioning system.

In short, all i need is a script call like "$game_troop.members[1].transform[3]"... But this specific one doesn't work for some reason... But if it did, it would've been perfect - just what I needed ^^

That's why I always leaned toward using a script instead of a simple script call because you need it to dynamically change stuff. Full Scripts are way better for such jobs than calls. But don't worry, I won't be offering any more assistance since you keep telling us you only care about script calls. Don't ever say I didn't respect your decision. 😛
and gives me an error.
I forgot to ask, whats the error?
I forgot to ask, whats the error?
I also tried it in a troop event and it says: "Script Game_Interpreter' line 1411: ArgumentError occured. wrong number of arguments (0 for 1)"
That doesn't help so much since it just tells you there is some error while processing eval() of the in-event script-command which does not carry over what exactly the problem and its cause are.

But I'm sure the parameter of Game_Enemy#transform must be put into (), not [].

~炬燵あ
That doesn't help so much since it just tells you there is some error while processing eval() of the in-event script-command which does not carry over what exactly the problem and its cause are.

But I'm sure the parameter of Game_Enemy#transform must be put into (), not [].

~炬燵あ
Works perfectly! Thanks ^^

Original thread: https://forums.rpgmakerweb.com/threads/script-call-for-enemy-transform-and-change-enemy-state-within-battle.157006/