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.

Walking through everything in VX and CRTL isn't Pressed

Senune

Member

Hey as the topic pretty much says my guy is walking through everything and I'm not holding down control, does anyone know how to fix it or something?
If so I would really appreciate it. :smile:
 
It sounds like through is on for the main character.  Make sure you haven't accidentally activated through for the player.  If that doesn't work, include the command Through OFF somewhere and see if that fixes it.  If neither of these are the case, it's probably a script error.
 

Senune

Member

I think it might be a script error somewhere because I just used an autrun with the Move route Player: Through off and it wasn't working.
Thank you, though for helping me find the problem it was getting annoying...


EDIT: Could this be a problem in the script?

#--------------------------------------------------------------------------
  # * Object Initialization
  #    map_id : map ID
  #    event  : event (RPG::Event)
  #--------------------------------------------------------------------------
  def initialize(map_id, event)
    super()
    @map_id = map_id
    @event = event
    @id = @event.id
    @erased = false
    @starting = false
    @through = true      (This Line Right Here,No this part of the text isn't in the script)
    moveto(@event.x, @event.y)            # Move to initial position
    refresh
  end
 
That could be the problem.  I'm not too experienced with scripts, so I can't say for certain.  If it's a default script, try creating a new game and checking if that area is the same.  If it's a custom script, then try changing through from true to false in that section.
 

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