RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[SOLVED][VX] Tankentai Script Problem

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 71
ZA WARUDO!
I'm having an issue with the Tankentai SBS, in the Sideview 2 (3.4d) script. Every time I get back-attacked, I get this:

Quote
Script 'Sideview 2 (3.4d)' line 1144: NoMethodError occurred.

undefined method 'mirror=' for nil:NilClass

I'm not sure if I should post the script, because, as everyone knows, it's incredibly long.


EDIT: I found a setting in one of the configs to allow me to disable back-attack. -.-'
« Last Edit: April 07, 2011, 04:30:16 PM by Tink4Dead »

**
Rep: +0/-0Level 71
ZA WARUDO!
Bump. I forgot to mention that I haven't a bit of scripting experience.

*****
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Best IRC Quote2014 Zero to Hero2014 Most Missed Member2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
At least post a link to the script.
Have you edited the script at all? At the very, very least post the line or clause that the error refers to.
it's like a metaphor or something i don't know

**
Rep: +0/-0Level 71
ZA WARUDO!
Code: [Select]
  #--------------------------------------------------------------------------
  # * Create Battlefloor Sprite -aliased
  #--------------------------------------------------------------------------
  alias create_battlefloor_n01 create_battlefloor
  def create_battlefloor
    create_battlefloor_n01
    @battlefloor_sprite.x = N01::FLOOR[0]
    @battlefloor_sprite.y = N01::FLOOR[1]
    @battlefloor_sprite.opacity = N01::FLOOR[2]
    # Mirror BattleFloor and Battleback when a surprise attack
    back_attack
    if $back_attack
      @battlefloor_sprite.mirror = true
      @battleback_sprite.mirror = true # <-The line in question
      $game_troop.surprise = true
    else 
      $game_troop.surprise = false
    end 
  end

It's the @battleback_sprite.mirror = true line. Can't post the whole script, though. No, I haven't edited it at all.

**
Rep: +0/-0Level 71
ZA WARUDO!

*****
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Best IRC Quote2014 Zero to Hero2014 Most Missed Member2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
Three day bumps here, brother. The scripters here have lives as well.
You hardly need to bump if you're on top of the list anyway -_-
I don't have the scripts so don't expect me to do anything. All I have is what you've given us.
it's like a metaphor or something i don't know