SlashCo Wiki

SlashCo.FindMapWorkshopID

 string, string SlashCo.FindMapWorkshopID( string mapName, boolean allowUnmounted )

Description

Shortcut for SlashCo.FindWorkshopID that looks up a map's .bsp file under maps/.

Arguments

1string mapName

Name of the map, with or without the .bsp extension.

2boolean allowUnmounted

If true, addons that aren't currently mounted are also checked.

Returns

1string wsid

The workshop ID of the addon that contains the map, or nil if none was found.

2string title

The matching addon's title, or nil if none was found.