Calling a picture/bitmap + skill checking *b-abs*

Started by RoseSkye, January 19, 2011, 11:35:56 am

Previous topic - Next topic

RoseSkye

I'm trying to make an add-on for the B-ABS. This add-on will use pictures to show which skill/item is equipped instead of icons, however... I've come across a snag. I am aware that you show pictures with 'image.bitmap = RPG::Cache.picture("Picture_")'. I've no clue how to make it so that it properly checks to see if a skill is equipped let alone to make it emulate equipping skills and such.

Visual Aid.
Spoiler: ShowHide

RoseSkye

Quote from: RoseSkye on January 19, 2011, 11:35:56 am
I'm trying to make an add-on for the B-ABS. This add-on will use pictures to show which skill/item is equipped instead of icons, however... I've come across a snag. I am aware that you show pictures with 'image.bitmap = RPG::Cache.picture("Picture_")'. I've no clue how to make it so that it properly checks to see if a skill is equipped let alone to make it emulate equipping skills and such.

Visual Aid.
Spoiler: ShowHide



Solved it.
bitmap = RPG::Cache.picture($data_skills[@skill].icon_name) Duh.