Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Bob423

Change Equipment event command not working.

Question

yup. i've tried it. I also tried a script call that i found on an old topic.

 

$game_party.actors[0].equip( equip_type, id)

 

but that didn't help.

 

it might have something to do with Blizz-ABS, but i doubt it, it seems like the kind of thing that people would talk about, but i havent found anything on it. one person had the same problem, but he wasnt using any other scripts, and his question was never answered. if there's another way to do this, let me know.

i've even tried it by itself, instead of in context with the event i need it in. still nothing.

Edited by Bob423

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

you have to currently posses whatever your trying to equip otherwise the script wont equip anything, are you trying to force it to equip a new item that has not yet been obtained or that could have been removed from the inventory?

Share this post


Link to post
Share on other sites
  • 0

hm...i tried that with the event command, but not the script. yet...

 

edit: what the...it wasn't working before...so i just tried what you said with the event command, and it worked. not sure why it didn't work the first time though.

thanks anyway :D

Edited by Bob423

Share this post


Link to post
Share on other sites
  • 0

if you are wanting the item to be only obtained if it is not in the inventory you can do a script call to check how many is in the possesion:

$game_party.item_number(item_id) == 0
#or
$game_party.weapon_number(weapon_id) == 0
#or
$game_party.armor_number(armor_id) == 0

edit:

nvm i forgot conditional branches can already do that :P

Edited by diagostimo

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...