diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-05 09:18:16 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-05 09:18:37 +1000 |
commit | 70b4882ab1e74848851da2cc5f9f7872ca1c8bc8 (patch) | |
tree | 94a3b6d157a5b83afc85d12d4e02daa6fcc6da7c /crawl-ref/docs | |
parent | 4b5b177d49ccd4d08cef6b2cff5b9a020500329d (diff) | |
download | crawl-ref-70b4882ab1e74848851da2cc5f9f7872ca1c8bc8.tar.gz crawl-ref-70b4882ab1e74848851da2cc5f9f7872ca1c8bc8.zip |
Fix typo, add section on 'wall_hit'.
Diffstat (limited to 'crawl-ref/docs')
-rw-r--r-- | crawl-ref/docs/develop/levels/triggerables.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/docs/develop/levels/triggerables.txt b/crawl-ref/docs/develop/levels/triggerables.txt index d2c540cf95..d0240b9f0f 100644 --- a/crawl-ref/docs/develop/levels/triggerables.txt +++ b/crawl-ref/docs/develop/levels/triggerables.txt @@ -12,7 +12,7 @@ Contents: A. Introduction F. Master and slaves This document describes the usage of Triggerables, a modular, extensible and -highly flexible Lua marker systen used for making vaults. For more general +highly flexible Lua marker system used for making vaults. For more general syntax and other advanced Lua topics, see introduction.txt, syntax.txt and advanced.txt. @@ -433,6 +433,8 @@ Currently, convenience functions for Triggerables include: * message_at_spot, which can be used to trigger a single or repeated message whenever the player crosses or reaches a certain point. + * function_at_spot, as above, but accepts a function and data parameter + instead of message and channel. E. List of triggerers ======================== @@ -472,6 +474,9 @@ parameters for each. countdown is performed. * entered_level: Called when player enters the level, after all level setup code has completed. + * wall_hit: Called whenever the relevant wall is hit with a solid object + (such as a missile or a wielded weapon using Ctrl+direction), or a bolt + spell (ice bolt, Lehudib's Crystal Spear, etc). F. Master and slaves ======================== |