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.

Game_Character problem! HELP

Nachos

Sponsor

Ok I'm having an Bridge event system which checks if a variable is 1, it moves the player under the bridge (1 step foward), I it's 2, the player does not move.

When I do this, it gives me this error:



Game_character 3, line 271
Code:
  when 6

      move_right(false)
 

Nachos

Sponsor

Yeah I know sorry.

Code:
 

 

Conditional branch { Variable : 001-Passable = 1

 

 end

 

-

 

Conditional branch { Variable : 001-Passable = 0

 

  Conditional branch { player is facing Right}

 1 Step foward

 end

 

  Conditional branch { player is facing Left}

  1 Step foward

 end

 

end

 

-

 
 

Nachos

Sponsor

Already did that.

here's the error:

errrornh4.png


and this is ther event

eventmc1.png
 
It seems to me that you've got some custom script installed that's changing the movement commands >.>
It appears to be redefining the move_x commands so they don't have any arguments, causing a crash when the default scripts try to hand one to them >.>

ctrl + shift + f
search for "def move_right"
 

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