GetPlatform

From Dragon Age Toolset Wiki
Revision as of 19:23, 3 August 2011 by Sunjammer (Talk | contribs) (Updating link)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the platform that the game is running under.

int GetPlatform(
);
Parameters:
None
Returns:

PLATFORM_* constant

Source:

script.ldf

Description

Return the ID of the platform that the game is running under.

User-generated content is only usable with the PC version of the game, so this function is unlikely to be of much use to end users.