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.

Global Events

My question is more theotetical though and can apply to single player and multiplayer type config's.


My problem is thus,

Right now the way events and switches work is so.
.
Player A hits a switch lowers a bridge
Player B - cannot cross the bridge until he hits the same switch.

What i need is a way to make global events or a good tut on how to make them. I need a way so if Player A hits a switch, Player B, C, D, can all cross the bridge, because the activation of the script automaticly says "yes, the bridge is lowered globally" Until someone hits flips the switch back to its orginal state.

Any ideas?
 
make a event after player A has passed the bridge that the bridge goes away? but than you would have the problem that player B could pass the bridge before him >.< maybe a self switch?
 

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