Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [Unsupported] PK8's Self Variables VX
#2
Awesome job, very clean coding and looks easy as hell to use! I'm definately gonna add your XP version to my lib because I could get alot of good use out of this too!

One thing I'm gonna pick on though is it appears that the system is only used to handle Numeric data, while $game_variables can handle other data types like Strings and Arrays and the such (even though they weren't designed to either anyway). Still, I believe some of the math methods should still work on them (+ and * at least, never tried using other math operators directly on String/Array/etc classes)

And also, self switches require map_id, event_id, key (ie, $game_self_switches[[1, 5, "A"]]). I would make the arguments interchangable, where if the 1st and 2nd argument are Integers it'll look up Map ID and Event ID, otherwise it would just look up Event ID. Alternatively, you could just use Key ("A") and not specify Map/Event ID and it would do it for whatever event is running atm.

self_variables(1, 5, "A") # Map ID, Event ID, Var Key (for any event on any map)
self_variables(5, "A") # Event ID, Var Key (used for the current map)
self_variables("A") # Var Key (used directly from event call script)
[Image: Button-BOTB.png]
[Image: Save-Point.gif][Image: Button-You-Tube2.png][Image: Button-Sound-Cloud2.png][Image: Button-Audio-Mack2.png]
[Image: LS-Banner.gif]
NEW ALBUM OUT NOW!

Reply }


Messages In This Thread
[Unsupported] PK8's Self Variables VX - by PK8 - 09-16-2009, 09:52 AM
PK8's Self Variables VX - by Kain Nobel - 09-16-2009, 10:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   [Unsupported] PK8's Self Variables XP PK8 4 9,403 03-08-2012, 01:54 PM
Last Post: LilyKnight
   [Unsupported] Title Skip 2 XP PK8 3 8,431 02-17-2010, 12:01 PM
Last Post: Villain
   Skills That Use Variables DerVVulfman 2 6,583 01-06-2010, 09:44 AM
Last Post: Queue
   Group Variables v1.1 PK8 2 6,088 11-12-2009, 06:30 AM
Last Post: PK8
   [Unsupported] Actor & Party's Self Switches XP PK8 3 7,873 09-17-2009, 01:46 AM
Last Post: Yin
   [Unsupported] Actor & Party's Self Switches VX PK8 0 4,628 09-16-2009, 10:57 PM
Last Post: PK8
   [Unsupported] Game Strings (Streamline dialogue!) PK8 3 8,343 09-15-2009, 11:28 PM
Last Post: Wyatt
   [Unsupported] Title Skip 1 PK8 2 6,334 09-15-2009, 10:44 PM
Last Post: DerVVulfman
   [Unsupported] Force Save Before New Game PK8 0 4,393 12-07-2008, 04:44 PM
Last Post: PK8
   [Unsupported] MapSwitch! XP PK8 0 4,397 12-07-2008, 04:39 PM
Last Post: PK8



Users browsing this thread: