DCS getCurrentDcsResourceId

From Catglobe Wiki
Jump to: navigation, search



DCS_getCurrentDcsResourceId

Return current DCS resource Id

Syntax

DCS_getCurrentDcsResourceId()

Arguments

None

Return value

number

Example

number dcsResourceId = DCS_getCurrentDcsResourceId();

print(dcsResourceId);

Explanation

If you work on Tabulation editor, you can use this example to know DCS resource Id that you're using. This script will run failed if you're using Workflow editor and do not use function DCS_use(DCS resource Id).

Availability

Version 5.8