Table of Contents

GetMapDataPath()

Syntax

GetMapDataPath(void)

Description

Returns the internal map files path. It has one use which makes referring to the map files clear and easy.
For example:

path = GetMapDataPath();
MessageBox (path..“Begin.txt”);

Let’s assign data path to our varriable ‘path’ so that now we can refer to map text files with a short syntax using [..] operator to glue data path with filename instead of using copy/paste over and over again, also risking misspell occurence.

scripting/generic/getmapdatapath.txt · Last modified: 2008/09/08 17:03 (external edit)
Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0