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.

NPC activate event Help!!

Im trying to figure out how to use the sensor enemy varible im makeing an ABS game

Im mainly looking on how to get a NPC to touch a event and activate it


if anyone can explaine on how to do this would be awesome please and ty
 
Quickie answer: You'll need a Parallel Process event that assigns the X and Y coordinates of each event to variables, and then compares those variables.

The specifics will depend on what, exactly, you want to do with it.
 
With Control Variable-- you can assign a variable to be equal to a given event's Map X or Y, among other things.

As a side note, if you haven't done it yet, take a good long look at all of the things that you can do with Control Variable and Conditional Branch. Some of them are very surprising, and have a lot of clever uses.
 

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