Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

I need a few ABS RGSS command

Trix

Member

Hi.

I need help with some RGSS commands. I'm trying to make ABS in RGSS, but my knowledge in this isn't really big. I know some things, but with this few below I need help.

How can i write (and use, if it possible to explain it to me) these commands & conditional branches in RGSS:
Code:
if player's weapon is included in array $ranged_weapons


if player have item included as a player's weapon missle in array $missles


create event with graphic that's set as player's weapon's missle


if missle's event coords are equal to enemy's event (enemy is set in class ABS_Enemy)


if @hp <= 0 and in "/Characters" folder is file named: enemy battler name + "_Corpse.png" change this event's graphic into this charset that's set few words back, else erase event


decrease actors HP ($game_party.actors[0]) by the enemy's attack power (after decreasing it by actor's pdef)

Thanks in advance for helping me


P.S. I'm Polish, so sorry for any mistakes in English.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top