GetPlatform

From Dragon Age Toolset Wiki
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.