I am trying to build an event with a short animation via "custom move route" that plays and than waits for a time which comes from a variable, so other events play the same animation with the same waiting time (the variable changes over time obviously).
This is the script I used in the move route:
wait($game_variables[70])
The Error is:
Script 'Game_Character' line 180: NoMethodError occured. undefined method 'wait' for #<Game_Event: 0xb5cc5a0>

I tried this also in a fresh and empty project and I get the same error.
The same Scriptline works in a plain Event perfectly fine, but not in a custom move route. Any Idea?
This is the script I used in the move route:
wait($game_variables[70])

The Error is:
Script 'Game_Character' line 180: NoMethodError occured. undefined method 'wait' for #<Game_Event: 0xb5cc5a0>

I tried this also in a fresh and empty project and I get the same error.
The same Scriptline works in a plain Event perfectly fine, but not in a custom move route. Any Idea?