Lua
C++
Edit

GetFilePattern

Syntax

string GetFilePattern(number category, boolean save = false)

Parameter Description
category can be any combination of the constants below
save true for a save file dialog or false for an open file dialog

Returns

Remarks

The following constants can be combined in the category parameter:

Example

local pattern = GetFilePattern(FILECATEGORY_MODEL | FILECATEGORY_TEXTURE)
RequestFile("Open File", "", pattern)
Copyright © 2024 Ultra Software.
All rights reserved.