summary refs log tree commit diff stats
path: root/res/scripts
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-09 20:34:59 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-09 20:34:59 -0500
commit315ca2fb388f790791c9ce372cf44e00d51e0e7f (patch)
tree99fd0a66ce191959c73fe5058e538a4dcd07100e /res/scripts
parent0c2cd251fa0427b19f7c995bc7da7319d2ac80a5 (diff)
downloadtanetane-315ca2fb388f790791c9ce372cf44e00d51e0e7f.tar.gz
tanetane-315ca2fb388f790791c9ce372cf44e00d51e0e7f.tar.bz2
tanetane-315ca2fb388f790791c9ce372cf44e00d51e0e7f.zip
Added trigger zones to the map
Walking into a trigger zone runs a script.
Diffstat (limited to 'res/scripts')
-rw-r--r--res/scripts/test_trigger.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/scripts/test_trigger.lua b/res/scripts/test_trigger.lua new file mode 100644 index 0000000..cd64fb8 --- /dev/null +++ b/res/scripts/test_trigger.lua
@@ -0,0 +1,6 @@
1function test_trigger()
2 PlaySound("boney_growl.wav")
3 DisplayMessage("Hi! Welcome to the funky zone.", "", SpeakerType.NONE)
4 WaitForEndOfMessage()
5 HideCutsceneBars()
6end