I am trying to create a fight where a mini boss rips off an actor's clothes and then destroys the clothes with fire forcing the affected actor to finish the last 10% of the fight without equipment. (the boss will not take his weapon)
I need some way to store what the actor has equipped on all equipment slots other than his weapon (I know it will require multiple variables).
I then can just do a change equipment command and set everything to none.
But I need what was equipped removed from the inventory as well. My understanding is that the change equipment command just stores your old equipment in the inventory.
How do I do this? Is there a custom variable call script for this?
yes, and there should be a topic for the script equivalents of all event commands to contain and explain that.
Sorry, I can't answer your question directly because VXA was ten years ago and I don't remember all the ruby code from then. But it is listed in said topic, although you'll need to dig a bit deeper into it.
Will the enemy return the stolen equipment or not? Just asking.
That list (if you got the correct one) contains the command to set an equipment by script.
That is the same as reading out what equipment is there just by using that info slighlty different
Well, if you stop ignoring my previous question, I might be able to help you here.
Why do you need to know whether the gear will be returned or not? If you must know, there is an NPC in a nearby town who will give him something better
Why did you add zeroes to those indexes? And by indexes I meant equipment slots starting from 0...
Yes, the weapon, the shield or secondary weapon, the helmet, etc.
No leading zeros at all.
Thanks. I probably will not be able to try it out until at least tomorrow
It probably as simple as "save project before doing battle test"
Nope. I was actually in game when this happens. I talked to the six people that triggers a man to tell me to go to the desert, I talk to that man, which turns on a switch for Palkia to appear. Touch Palkia, battle, and when the Palkia tries to steal the armor, the game always crashes
It makes you save to do a test play.
Then check again if the script is installed
You see, you don't have to use it. I don't mind, especially if you're involved in one way or another. You're always extremely unpolite, making huge statements about how terrible something is. I'm tired of your bad attitude so I don't care if it works or not.