- Joined
- Apr 26, 2014
- Messages
- 211
- Reaction score
- 39
- First Language
- English
- Primarily Uses
I've been making great strides in my tactical movement template. However, I can't seem to figure out how to get my characters transported from point to point.
I have variables set up for the location of each event and can transfer a player to those locations via an event. However, I'm faltering a bit at this point.
after the initial transportation, the Unit 1 Switch is turned on and the character is transported to the Unit 1 X, Unit 1 Y location on the map. Then, I need a way to activate the other switches.
I have considered 3 ways to go about it (but I haven't gotten any of them to work)
Option 1: Use code to "bind" keys 1-0 so that, when you press them, the teleport and party change occurs (unfortunately, I keep getting an unexpected integer error when I try that. I'm assuming this:
Input.press?
A)
doesn't accept numbers (example: 1 instead of A).
Option 2: Set Act Variables and subtract the number of steps taken from the act variable. When it reaches 0, change the switch and ACT. Unfortunately, I can't figure out how to set steps taken to 0.
I've tried:
$game_party.steps = 0
but that throws an error (unexpected =)
Option 3: Set the transports to a timer... unfortunately, when I try that, the autorun event freezes me up and the parallel process just causes the timer to indefinitely reset.
If I could remember how to screenshot the problem (I knew but forgot), I'd attach it.
could anyone help me? Maybe there's a simpler method that I'm just not seeing.
I have variables set up for the location of each event and can transfer a player to those locations via an event. However, I'm faltering a bit at this point.
after the initial transportation, the Unit 1 Switch is turned on and the character is transported to the Unit 1 X, Unit 1 Y location on the map. Then, I need a way to activate the other switches.
I have considered 3 ways to go about it (but I haven't gotten any of them to work)
Option 1: Use code to "bind" keys 1-0 so that, when you press them, the teleport and party change occurs (unfortunately, I keep getting an unexpected integer error when I try that. I'm assuming this:
Input.press?
doesn't accept numbers (example: 1 instead of A).
Option 2: Set Act Variables and subtract the number of steps taken from the act variable. When it reaches 0, change the switch and ACT. Unfortunately, I can't figure out how to set steps taken to 0.
I've tried:
$game_party.steps = 0
but that throws an error (unexpected =)
Option 3: Set the transports to a timer... unfortunately, when I try that, the autorun event freezes me up and the parallel process just causes the timer to indefinitely reset.
If I could remember how to screenshot the problem (I knew but forgot), I'd attach it.
could anyone help me? Maybe there's a simpler method that I'm just not seeing.

