object.ids
Objects can be split broadly into three categories; static objects, marked objects and object specifiers. Static objects (e.g.
Player1
, Myself
) are always bound (and in fact, they always return the same creature). Marked objects (e.g. LastSeenBy
, LastAttackerOf
) are almost always bound. Object specifiers (e.g. [ENEMY.0.0.MAGE]
are not bound — they are checked every time they are referenced. Objects listed in object.ids
are marked objects and are not saved over game sessions.
Note:
Group
objects are determined by thespecifics
value set in the creature file.Nearest()
identifiers cascade outwards, i.e. if there are only three valid creatures,FourthNearest()
and above will return the third nearest creature (rather than false).
IDS V1.0
Returns the active creature.
Returns the weakest player character (in the party).
Returns the strongest player character (in the party).
Returns the most damaged player character (in the party).
Returns the least damaged player character (in the party).
Returns the creature that last inflicted physical damage on the active creature.
Returns the nearest creature of opposite allegiance.
Returns the nearest visible creature — usually the active creature.
Returns the last creature that activated the active trigger region.
Returns the last creature that has been targeted by
StartDialogue()
or similar actions.
Synonymous with
Player1
.
Returns the strongest male player character (in the party).
Returns the player character (in the party) with the highest AC.
Returns the player character (in the party) with the lowest AC.
Returns the character who summoned the active creature.
It auto-populates the
EA
field of the object selector and immediately evaluates it, so it's useless to define the EA
manually.
It auto-populates the
SPECIFIC
field of the object selector and immediately evaluates it, so it's useless to define the SPECIFIC
manually.
Returns the player in the first portrait slot.
Returns the nearest closed door (does not detect secret doors, or locked doors).
Returns the familiar creature if present.
Returns the summoner of the current familiar.
Returns the nearest creature of same allegiance.
Returns the farthest enemy within visual range of the active creature.