I'm looking for a method where the player's step count is added in a variable. Steps should be counted on a map and it should be a condition for activating an event. This means that as soon as you have walked a certain number of steps on the same map, an event should be activated. The problem is, under the variable control, there is a method that counts the steps, but only the total number since the game started. I want to try to count the steps from the start of a common event. I've currently tried the following shortcut:
$game_variables[46] = $game_map.events[104].starting_step_count + $game_party.steps
However, it doesn't work. Can someone correct me or give me another way to do this? Both would be fine with me.
$game_variables[46] = $game_map.events[104].starting_step_count + $game_party.steps
However, it doesn't work. Can someone correct me or give me another way to do this? Both would be fine with me.