DCS getCurrentDcsResourceId

From Catglobe Wiki
Revision as of 11:31, 20 December 2011 by Cg van (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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