GetPlayerMapPatch
From Dragon Age Toolset Wiki
Gets the object ID of the Nth player map patch
- Parameters:
- pPlayer
- Object ID of player
- sTag
- Tag string to search for
- nNth
- Integer ordinal of object
- Returns:
- the Nth player map patch
- Source:
- script.ldf
Description
Each player has a list of map patches and states for each area. This function looks up the Nth object ID of a map patch tag for a particular player. Note that the patch could be from any of the currently loaded areas.