Hello guys, I just want to ask what is the script that can call the equip window? Thank you 🙂
Script call for specific actor
Javascript/Plugin SupportI think it'll be something like this - one to call the window and one to set which actor to show, all in a single script call:
SceneManager.push(Scene_Equip)
$gameParty.setMenuActor($gameActors.actor(X))
X will be replaced by the id of the actor you want to show (no leading zeros)
SceneManager.push(Scene_Equip)
$gameParty.setMenuActor($gameActors.actor(X))
X will be replaced by the id of the actor you want to show (no leading zeros)
Actor 1 will be $gameActors.actor(1), not $gameActors.actor(0001).
The database shows ids with leading zeros, so sometimes people write the id like that in script calls. But this messes with the script and the id is treated like hex or binary or something weird, causing unexpected results, so leading zeros should never be included in any kind of script or script call.
The database shows ids with leading zeros, so sometimes people write the id like that in script calls. But this messes with the script and the id is treated like hex or binary or something weird, causing unexpected results, so leading zeros should never be included in any kind of script or script call.
Original thread: https://forums.rpgmakerweb.com/threads/script-call-for-specific-actor.64627/