RPG Maker Forums

HI I have a question im using SaS IV Saphire Battle system with aditional BLocking script and there is a setup at the begining of the script which looks like this:

 


module Block_Core
  
  # Key used to block (default is R, which means W on your keyboard)  
  Block_Key = Input::R
  
  # Sprite name
  # If the current character sprite is "Adam", when the hero is blocking
  # it's sprite will be "Adam_block"
  Block_Character_Name = ""
  
  # Sprite index
  Block_Character_Index = 0
  
  # Block duration (in frames)
  Block_Duration = 20
  
  # Block cooldown (in frames)
  Block_Cooldown = 1
  
end




and I wan to set up the Block_Duration to a specific value taken from variable
I tried using it like this: Block_Duration = $game_variables[5] but Im getting error... anyone knows how to put it in correct way?
Khas isnt answering any question so Im asking here...


 

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,837
Latest member
Dabi
Top