Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Cursor, Selection, and Scrolling
#2
Hey, Cocoa. Just popping in at work and I noticed a slight error... unless RGSS3 has made a change to the handling of arrays and hashes.

First, please note the following code you supplied.
Code:
def self.make_save_contents
    contents = {}
    contents[:system]        = $game_system
    contents[:timer]         = $game_timer

The contents array is a hash array defined with the {} braces. The arrays you have in your SKILLS module, and set up in the initialize method in Game_SkillPoints use just the [ ] brackets.

Code:
SKILLNAME = []
    #SKILLNAME[id] = "skill name"
    SKILLNAME[0] = "Alchemy"
    SKILLNAME[1] = "Thaumatology"

The initial SKILLNAME value should be changed to SKILLNAME = {} and turned into a hash array. Likewise, both the @skillpoint and @skillboost arrays should also be hash arrays.

That's a glancing inspection. I'll come back when I can.
DerVVulfman's 'regular Joe' account for testing and permissions use.
Who watches the Watchmen?
Reply }


Messages In This Thread
Cursor, Selection, and Scrolling - by tnsi - 01-08-2012, 01:08 PM
RE: Cursor, Selection, and Scrolling - by NightOwl - 01-08-2012, 09:25 PM
RE: Cursor, Selection, and Scrolling - by tnsi - 01-08-2012, 09:50 PM
RE: Cursor, Selection, and Scrolling - by Zeriab - 01-09-2012, 12:39 AM
RE: Cursor, Selection, and Scrolling - by tnsi - 01-09-2012, 02:17 AM
RE: Cursor, Selection, and Scrolling - by tnsi - 01-09-2012, 08:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Map scrolling nightmare... kyonides 1 3,920 09-09-2017, 06:02 PM
Last Post: kyonides
   Just move the Cursor of the Item_Scene to the right Djigit 24 21,497 08-18-2015, 03:00 AM
Last Post: DerVVulfman
   little Edit of the cursor world map system Djigit 3 5,913 08-24-2014, 02:31 AM
Last Post: Djigit
   Help with Compact Menu Selection Script JackMonty 4 6,430 09-19-2012, 10:56 PM
Last Post: JackMonty



Users browsing this thread: