GetPlayerMapPin

From Dragon Age Toolset Wiki
Jump to: navigation, search

Gets the object ID of the Nth player map Pin

object GetPlayerMapPin(
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 Pin

Source:

script.ldf

Description

Each player has a list of map pins and states for each area. This function looks up the Nth object ID of a map pin tag for a particular player. Note that the pin could be from any of the currently loaded areas.


See also

GetMapPinState, SetMapPinState