[RMVX ACE] REMOVING EQUIPMENT WITH YANFLY EQUIP ENGINE AND MULTIPLE SLOTS
Posts
Pages:
1
Hello again! ^_^
In my VX Ace game, I'm using Yanfly's Ace Equip engine to give the characters two accessory slots. The trouble is, I came to a point where I need an event to unequip both equipped accessories on a character, and I can only seemingly get one removed.
Any idea how to do this? Am I overlooking something simple?
Thanks a lot! :D
In my VX Ace game, I'm using Yanfly's Ace Equip engine to give the characters two accessory slots. The trouble is, I came to a point where I need an event to unequip both equipped accessories on a character, and I can only seemingly get one removed.
Any idea how to do this? Am I overlooking something simple?
Thanks a lot! :D
EDIT: I think I may have solved the problem. I used a script call and typed:
...and that seems to have removed both accessories.
$game_party.members[0].change_equip(4,$data_nil)
$game_party.members[0].change_equip(5,$data_nil)
...and that seems to have removed both accessories.
This is necroposting, but I want to thank past Unity for helping present Housekeeping on this exact problem.
Also, some clarification for future people: the number after game_party.members refers to the party member's position in the party rather than their database number, e.g. the character in your first slot is 0, the character in your second slot is 1, etc.
Also, some clarification for future people: the number after game_party.members refers to the party member's position in the party rather than their database number, e.g. the character in your first slot is 0, the character in your second slot is 1, etc.
I fumbled around not knowing the difference either.
$game_actors(n) will call the nth actor, regardless of their party position.
$game_party.members(n) will call the nth member of the current party.
$game_party.leader will call whoever is the party leader; useful if you're trying to check the level, etc of whoever is in front (I use this for my game's encounter skip threshold)
$game_actors(n) will call the nth actor, regardless of their party position.
$game_party.members(n) will call the nth member of the current party.
$game_party.leader will call whoever is the party leader; useful if you're trying to check the level, etc of whoever is in front (I use this for my game's encounter skip threshold)
Yay! Thank you both for the added info, and glad this thread was helpful! ^_____^ Funny story, I had forgotten how to do this, searched for an answer, and found this thread, having forgotten that I made it back in 2015 XD;;;;;;;;;
Pages:
1

















