kyleconroy/hawkthorne-journey — pull request #964 by NimbusBP1729 (2013-03-11 03:30:47+00:00)
Title: Cutscene

To create a new cutscene make a new file in the `cutscenes/` folder

Assign it to a level with a node and use the following picture to determine the fields
![](http://i.imgur.com/1j8R9ow.png)

Add all referenced cutscene nodes in the tmx file as follows:

![](http://i.imgur.com/kcZJFSU.png)

The script file works by looping through a table of the following:
call the `preconditions()`, execute the `line`, and call `action()` function.

All the code in action() is run practically at once as is all the code in precondition(), so to make different actions i usually make a new dialog line.