L3DT users' wiki
Large 3D terrain generator

GetScriptFilename

Description

Get the full path to the current script file.

Function prototype

string GetScriptFilename

Arguments

None.

Return value

A string containing the full path to the current script file.

n empty string is returned if the current script is not being executed from a script file, such as the case when a plugin executes a script via the zscript_Execute function.

Example

echo <GetScriptFilename>

… the output of which is written to the event log by echo as:

C:\Users\Aaron\L3DT\Resources\All versions\Scripts\GetScriptFilename test.zs

Comments

None.

 
plugins/general/zeoscript/reference/functions/getscriptfilename.txt · Last modified: 2017/08/31 07:27 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki