What would be the script call while using a full input module (Blizz-ABS) to detect whether or not any of the buttons have been pressed while on the map? (ie: the attack/defend/direction-arrows/skills/etc)
Trying to make a small event that counts the number of keypresses and saves them to a variable for later use... have managed to do each key individually, but I can't imagine how to do all of them X_X
EDIT: Also, is there a easy-ish way to call a common event via script-calling?
ie: $data_common_events[12].execute
???
Perhaps you are looking for ALL_KEYS? as in, Input::ALL_KEYS, which is an array that contains all the keys that Blizz-ABS checks.
Quote from: winkio on May 04, 2011, 10:29:36 pm
Perhaps you are looking for ALL_KEYS? as in, Input::ALL_KEYS, which is an array that contains all the keys that Blizz-ABS checks.
I'm sure if I would've just looked in the Blizz-ABS script Input module thing, I woulda noticed that -.-'' thanks Winkio, but wait, theres more! (while I sorta have you here?)
Is there a script call to just... execute/run a common event?
$data_commonevent[12].do_your_stuff
?? XD
assuming you are on a map:
$game_system.map_interpreter.setup($data_common_events[12].list, 0)
Clever!
Where would that call not be usable, though?
A menu?
well, the only other place you can call common events besides the map is in battle.
Derp, of course.
Well then, that answers that.
Thank you kindly for your wisdom, Winkio.
I will treasure the knowledge like a squirrel treasures acorns.
Make sure you alter winkio's above script call if you are in battle to: "battle_interpreter" and not "map_interpreter"