Script assistance (@pokemon, message/choice windows)
View Single Post
July 21st, 2013 (7:23 PM).
I think you're missing the point of my rewrite, FL. That solution hardcodes the start selections into the script. I'm trying to make it such that it can use any three Pokémon as denoted by the script call. So, instead of calling pbShowStarterSelection and having to pick between Bulbasaur, Charmander or Squirtle, you could call pbShowStarterSelection(x,y,z) or pbShowStarterSelection(a,b,c) and have the script display choices for completely different sets of Pokémon.
The problem with that is that in order to pass x,y,z/a,b,c to the part of the script that actually displays the scene, I would have to add parameters to several method calls along the way, none of which actually use them. If I could put them straight into a set of quote-unquote "global" variables accessible from anywhere inside that script, that would be really helpful. It'd be kind of like the OO classes I've been writing in C++.
Joined Jul 2009
View Public Profile
Send a private message to BlackWaltz3
Find all posts by BlackWaltz3
Find threads started by BlackWaltz3
Ignore Posts by BlackWaltz3