- Joined
- Aug 3, 2012
- Messages
- 22,846
- Reaction score
- 12,375
- First Language
- English
- Primarily Uses
- RMMZ
@TheoAllen Thank you. I now understand.
$game_party.has_item?(item_goes_here)
If you mean "before inflicting damage" then you can do it using a damage formula, otherwise you can do it only with a script that changes how hits are calculated. Even so, when and how to do it still depends on what you want to achieve. As you have already been told, if you give us more details, we might be able to provide more help.Is it possible to check before it hits?
I'm using Hime's Cover Conditions (http://himeworks.com/2013/11/cover-conditions/) and I'm trying to define the condition for a particular battler to be covered as being hit by any skill with a certain element.If you mean "before inflicting damage" then you can do it using a damage formula, otherwise you can do it only with a script that changes how hits are calculated. Even so, when and how to do it still depends on what you want to achieve. As you have already been told, if you give us more details, we might be able to provide more help.
$game_troop.members[ID].alive?
$game_troop.members.any? { |member| member.enemy_id == ID && member.alive? }
Right, but it's Ace script call board.Sure, you can use the following :
Use thisIs there by chance a script call to check if any of the first 4 actors if your party has a specific weapon/armor ID equipped?
$game_party.members[0..3].any? {|m| m.armors.any?{|ar| ar.id == <specify here>} || m.weapons.any? {|wp| wp.id == <specify here>}}
Your query would be better if you post this in RGSSx Support and provide the link to your "strange battle system" script and item steal. Provide as much as info as possible because this particular topic thread is for script call that has nothing to do with someone's script.So, can anyone help me out here? I checked the script call list a few times but I don't believe I saw it.
I'm looking for a script call(s) that will refresh either the battle scene or the player inventory. I don't know if they exist or not.
Basically, I'm using a strange battle system along with a script that allows for items to be stolen from enemies. They seem to be compatable for the most part, except I can only access the items I've stolen after the battle. I appreciate any help you are willing to give me.
Oh, I see. I'm sorry I thought this was the place to post all script call related things. I just wanted to know if "battle_refresh/update" or if "inventory_refresh/update" existed as like manual script calls.Your query would be better if you post this in RGSSx Support and provide the link to your "strange battle system" script and item steal. Provide as much as info as possible because this particular topic thread is for script call that has nothing to do with someone's script.