Hey all,
So I'm trying to create an item that ostensibly works like the Pegasus Boots in Zelda: The character runs in place for a second, then sprints a short distance (4-5 tiles) then ends the movement. If the player collides with certain events while in the middle of the sprint, I want to trigger a different event. i.e. If there is an obstacle (tree/boulder/overgrowth/etc) and the player charges into it, I want that obstacle to go away.
The setup for the item is a common event which makes the movement route run in place for 60 frames, then increases speed to the maximum, and moves forward 5 tiles, then ends. It also triggers a switch at the start to show the boot action being performed, then switches back off afterwards. My belief was I could create an event, activated by the boot action switch, set to same as player and player touch, that would trigger when the player ran into it. The problem, apparently, is when the common event is running and the move route sends the player off running in whatever direction, it doesn't consider that to be player touch. It also doesn't work as event touch or putting the event in front of the object, as a player touch below player. In all instances, the event only works if the player independently walks into or on top of the event.
My hope was to use this at a variety of different locations, so doing a map and check x/y variable is possible, but super tedious. I'm hopeful there's a better way that I'm overlooking.
Thanks in advance!
So I'm trying to create an item that ostensibly works like the Pegasus Boots in Zelda: The character runs in place for a second, then sprints a short distance (4-5 tiles) then ends the movement. If the player collides with certain events while in the middle of the sprint, I want to trigger a different event. i.e. If there is an obstacle (tree/boulder/overgrowth/etc) and the player charges into it, I want that obstacle to go away.
The setup for the item is a common event which makes the movement route run in place for 60 frames, then increases speed to the maximum, and moves forward 5 tiles, then ends. It also triggers a switch at the start to show the boot action being performed, then switches back off afterwards. My belief was I could create an event, activated by the boot action switch, set to same as player and player touch, that would trigger when the player ran into it. The problem, apparently, is when the common event is running and the move route sends the player off running in whatever direction, it doesn't consider that to be player touch. It also doesn't work as event touch or putting the event in front of the object, as a player touch below player. In all instances, the event only works if the player independently walks into or on top of the event.
My hope was to use this at a variety of different locations, so doing a map and check x/y variable is possible, but super tedious. I'm hopeful there's a better way that I'm overlooking.
Thanks in advance!