There was a Script Line Snippet for that in VX-Ace, not seen someone offer it for MV yet.
With the standard Editor its not possible, but if you use the Eventcommand Script on 3rd Page of Eventcommands,
than it would theoretically be possible, but sadly i dont know the scriptcall equivalent for that.
Sorry for such useless answer.
I would like to have that snippet too for mv.
Edit here is the snippet from vx - ace , maybe someone can translate it to mv?
Code:
hero = $game_party.members[0]#<-The User
item = $data_items[0] #[]<-Item_Id (I normaly exchange the Zero with a Game Variable to connect it with the key item choice window variable)
hero.use_item(item)
targets = if !item.for_friend?
[]
elsif item.for_all?
$game_party.members
else
[hero]
end
targets.each do |target|
item.repeats.times{target.item_apply(hero,item)}
end
This was usefull for Key Item Menu, you could use the Item ID you get when you choose an Item in Key Item List, to automatically consume that item and make use of its inbuild standard efects.
I realy hope someone can translate it and shares it with us.