ZERGAR'S PROFILE

Search

Filter

Invisible Bridge

Thanks that should help, although i figured that I can take a map tile that is passable and change its opacity to a very low number, but still be passable. It seems to work. Also it makes the bridge barely visible.

Invisible Bridge

Here is my screen shot of the map and event,
. I don't know if i got my image to show up though?

Invisible Bridge

Is there a way in rmxp to change a small section of map to be have a passage?

Invisible Bridge

I'm having trouble getting an invisible bridge to work. I'm using rmxp, and i've setup events that have though checked off, but when I try to walk over them cross
the bridge it won't let me is there something I need to do to get it to work or am I missing something?

Having a syntax error problem

I've denoted enemy_id with the @ symbol and it still gives me the same error as i was getting before. When you mean " There's actual work to be done in the initialize method too in the Game_Enemy which is important that your code cuts out as it won't call it." is that telling me I need to make it be called in the Game_Enemy too?

Having a syntax error problem

I was trying to make it so when my thief uses the skill called Steal that when it's used it runs the script to where it takes the item that the enemy is holding and I didn't know if I could do it using the common events to call the script and run it from there.

Having a syntax error problem

I'm now getting a nil error on line 9 of my code.

Having a syntax error problem

I've fixed that line and another, but now it's giving me an error on the 'enemy_id' that is part of the $data_enemies.treasure line.

EDIT: I've realized that the enemy_id is missing from what I've typed in because I put it inside brackets when I should not have don that. So in other words the $data_enemies.treasure is $data_enemies(enemy_id).treasure .

Having a syntax error problem

I created a very simple stealing code for my game I'm working on and it keeps giving me a syntax error on line 19. When I have a end on that line. Here is the code I'm using:
#Skill for theif to steal item
class Steal_Skill < Game_Enemy
  
  def intialize
    stealIteam
  end
  
  def stealItem #steals enemy treasure item
    @item_steal = $data_enemies[enemy_id].treasure
    @tresure_probiblity = $data_enimies[enemy_id].treasure_prob
    numRand = srand([100])
    if numRand <= @treasure_probiblity
      $scene.refresh_status_window if $scene.is_a?(Scene_Battle)
      $game_temp.message_text = "Stole Item"
    else
      $scene.refresh_status_window if $scene.is_a?(Scene_Battle)
      $game_temp.message_text = "No item to steal"
    end
  end 
  
end
I'm not use to using ruby scripting language. Is there anything in my code that is causing the problem?

Auto Revive

Okay thanks, I have it working now. Without any problems. Thanks for the Help.