add_data_dir()
function, which takes a single string argument and adds the named directory to the beginning of the search list.
Whenever a character type is created, it is given its own data directory, which is the directory where the script that defines it was found. This class-specific directory is given precedence over all others for filenames referenced in the type's profile.
In Lua scripts, files in these directories may be referred to by strings with the following format:
"[foundry[.subgroup]+:]name"
Examples:
Topic DataDirectories . { Edit | Attach | Ref-By | Printable | Diffs | r1.4 | > | r1.3 | > | r1.2 | More } |
Revision r1.4 - 04 Oct 2004 - 19:06 GMT - ElminI Parents: WebHome > MakingZippyObjects |
Copyright © 1999-2003 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding EgoWiki? Send feedback. |