IWD2: Identifiers
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 objects.ids are marked objects and are not saved over game sessions. Note that Group objects are determined by the specifics value set in the creature file (0x274).
56
1 Myself
2 LeaderOf
3 GroupOf
Returns the weakest player character (in the party).
Returns the strongest player character (in the party).
6 MostDamagedOf
Only detects party members. If no one is injured, it will apparently go after anything with less hitpoints.
Returns the least damaged player character (in the party).
8 ProtectedBy
9 ProtectorOf
Returns the creature that last inflicted physical damage on the active creature.
11 LastTargetedBy
12 NearestEnemyOf
13 LastCommandedBy
Returns the nearest visible creature - usually the active creature.
15 LastHitter
16 LastHelp
17 LastTrigger
18 LastSeenBy
19 LastTalkedToBy
20 LastHeardBy
21 Player1
22 Player2
23 Player3
24 Player4
25 Player5
26 Player6
27 Protagonist
28 StrongestOfMale
Returns the strongest male player character (in the party).
29 SecondNearestEnemyOf
Returns the second nearest visible (unless the active creature has the detect invisible effect currently applied) enemy of the target creature.
30 ThirdNearestEnemyOf
Returns the third nearest visible (unless the active creature has the detect invisible effect currently applied) enemy of the target creature.
31 FourthNearestEnemyOf
Returns the fourth nearest visible (unless the active creature has the detect invisible effect currently applied) enemy of the target creature.
32 FifthNearestEnemyOf
Returns the fifth nearest visible (unless the active creature has the detect invisible effect currently applied) enemy of the target creature.
33 SixthNearestEnemyOf
Returns the sixth nearest visible (unless the active creature has the detect invisible effect currently applied) enemy of the target creature.
34 SeventhNearestEnemyOf
Returns the seventh nearest visible (unless the active creature has the detect invisible effect currently applied) enemy of the target creature.
35 EigthNearestEnemyOf
Returns the eigth nearest visible (unless the active creature has the detect invisible effect currently applied) enemy of the target creature.
36 NinthNearestEnemyOf
Returns the ninth nearest visible (unless the active creature has the detect invisible effect currently applied) enemy of the target creature.
37 TenthNearestEnemyOf
Returns the tenth nearest visible (unless the active creature has the detect invisible effect currently applied) enemy of the target creature.
38 SecondNearest
Returns the second nearest visible (unless the active creature has the detect invisible effect currently applied) creature.
39 ThirdNearest
Returns the third nearest visible (unless the active creature has the detect invisible effect currently applied) creature.
40 FourthNearest
Returns the forth nearest visible (unless the active creature has the detect invisible effect currently applied) creature.
41 FifthNearest
Returns the fifth nearest visible (unless the active creature has the detect invisible effect currently applied) creature.
42 SixthNearest
Returns the sixth nearest visible (unless the active creature has the detect invisible effect currently applied) creature.
43 SeventhNearest
Returns the seventh nearest visible (unless the active creature has the detect invisible effect currently applied) creature.
44 EighthNearest
Returns the eigth nearest visible (unless the active creature has the detect invisible effect currently applied) creature.
45 NinthNearest
Returns the ninth nearest visible (unless the active creature has the detect invisible effect currently applied) creature.
46 TenthNearest
Returns the tenth nearest visible (unless the active creature has the detect invisible effect currently applied) creature.
47 WorstAC
48 BestAC
49 Farthest
This object does not seem to work.
50 FarthestEnemyOf
51 LastMarkedObject
52 NearestPC
53 NearestEnemySummoned
54 MyTarget
55 SpellTarget
255 Nothing