[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
   Group Variables v1.1 PK8 0 128 11-12-2009, 06:30 AM
Last Post: PK8
   Common Event Self Variables VX PK8 0 887 09-17-2009, 04:55 AM
Last Post: PK8
   Actor & Party's Self Variables VX PK8 0 669 09-17-2009, 01:43 AM
Last Post: PK8
   [Unsupported] Actor & Party's Self Switches VX PK8 0 5,090 09-16-2009, 10:57 PM
Last Post: PK8
   [Unsupported] Game Strings (Streamline dialogue!) PK8 3 9,330 09-15-2009, 11:28 PM
Last Post: Wyatt
   [Unsupported] Title Skip 2 VX PK8 0 4,860 12-07-2008, 12:36 PM
Last Post: PK8



Users browsing this thread: 2 Guest(s)