GetPlayerMapPatch

From Dragon Age Toolset Wiki
Revision as of 23:20, 26 February 2010 by BryanDerksen (Talk | contribs) (remove tag)

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

Gets the object ID of the Nth player map patch

object GetPlayerMapPatch(
object pPlayer,
string sTag,
int nNth = 0
);
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.


See also

GetMapPatchState, SetMapPatchState