Created
June 5, 2013 17:15
-
-
Save fendent/5715568 to your computer and use it in GitHub Desktop.
Example of scripting in NextLevel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nl.script | |
.start(this) | |
.flag('talk', true) | |
.say( | |
"Welcome to the NextLevel demo test!", | |
"There's not much to see here right now but feel free to poke around." | |
) | |
.haltInput() | |
.pause(500).face(turnDirection1) | |
.pause(500).face(turnDirection2) | |
.pause(500).face(turnDirection1) | |
.pause(1000).face(direction) | |
.freeInput() | |
.say( | |
"...Err, frankly I'm not sure what that's supposed to mean.", | |
"But this guy gave me $5 to say it...", | |
"So I'll just be going over this way..." | |
) | |
.moveTo(7, 2, true) | |
.end(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment