Remote Event Activation
07-14-10
SummaryBasically what this needs to do is activate an event the same way as if
the player had faced it and pressed enter, except from several tiles away.
It needs to run the commands from inside the target event
so that things like Self-Switches can be handled.
More specifically, I'm using a "Self-Variable" script,
and that needs to be run straight out of the desired event,
just like self-switches...
Features Desired- Able to activate event, location decided by variables x and y.
MockupsN/A
Games its been in
Did you search?Yep
Where did you search?- Everywhere you'd expect
- Some places you wouldn't
- ...trust me, I'm not fond of begging for help. I searched like a son-of-a-beast.
What did you search for?- RMXP Remote Activation
- RMXP Call Map Event
- RMXP Activate Other Event
- ...and other similar things.
Final Thought:I figure it would be simple to script if I knew what I were doing...
I'd probably find how the game decides which event to activate,
then make a script that manipulates that function to activate the
event at location x,y -- x and y being variables I'd assign.
...except I'd likely break the system and/or get buttloads of errors...
But does that seem about right to anyone,
or is that just not how it works?
Edit:On a moderately-related note, I found a snippet that changes a self-switch,
but I still need remote event activation.
As for the self-switch snippet, I need to know why the following does not work:
$game_self_switches
[[3,$game_variables[2],"A"]]=true
I wish to set Variable 2 to a value (say 7), and for that snippet to become
$game_self_switches
[[3,7,"A"]]=true
which
should turn
Self-Switch A on in
Event #7 which is on
Map #3, however, I instead get a syntax error.