Reno Kugler
Villager
- Xy$
- 0.00
So I'm making a puzzle game, and while I could make a rediculous amount of switches and a parallel process to use the Outer Self Switch addon from Kadokawa... I'd rather have a script to make the whole process... easier. But I'm not very "Hip" with the coding language (enough to learn when it's broken down but I certainly am not an author). Using a code previously posted here
I have it set to record an event ID from a rock after it's touched by a player. I want to run a parallel process that uses that variable to check the events location on the map (so it'll actively check the location and apply the x and y to two other variables labeled Active X and Active Y) and then make a list of locations where I have pits or switches. If it's on the pit or switch I can use outer self switch commands to do the rest.
Basically: I need (or rather, want) a script that can take an event ID and apply its location to two other variables.
JavaScript:
$gameVariables.setValue(0893, $dataMap.events[this._eventId].id);
Basically: I need (or rather, want) a script that can take an event ID and apply its location to two other variables.
Last edited: