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.

Terrain tags?

Just a quick q, how do I test for a terrain tag in a conditional branch, in an event?

For example:

If terrain_tag = 7
show message "the terrain tag is 7"
Else
blah
End


(RMXP).
 

boon

Sponsor

Zeriab":3vxlawfo said:
You can also store the terrain tag in a variable and check that in a conditional branch.

Yeah, so at the start of the command set say; variable 1 to terrain tag 7.

Then

Conditional Branch: If 'Variable 1' == 7
do stuff
else
do stuff
end
 

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