Available since Version 1.7.
Returns the file name of the specified path including the extension.
Syntax
GetFileName( path )Arguments
- path (string): The path that you want to get the file name out of.
Return Values
- (string): The file name.
Examples
-- Returns "level.mfk"
GetFileName("scripts\\missions\\level01\\level.mfk")