My own testing shows that an entity which first sets _MyScriptX to a number and then waits for player to input northwest (which should be overwritten by that value) before talking, talks if the var is set to 1/2 and the player inputs north/northeast; and does not talk if it's set to 0 and the player moves northwest. It's possible more extensive testing would reveal that northwest corresponds to some random other number, though. I don't think I've ever actually used myscript with this particular command before, as all of the use-cases I've had for "
wait for player to input"
were either
just for special command, or in case branchings that were simpler without using myscript.
____________________________
109th Skywatcher
Here are some links to Things!
Click here to view the secret text
[Last edited by Xindaris at 01-09-2020 10:13 PM]