This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
entity [2021/06/16 14:59] – justin | entity [2024/01/30 15:22] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | **Entity** is a generic term that refers to a [[tile]], [[object]], | + | **Entity** is a generic term that refers to a [[tile]], [[object]], [[character]], or [[effect]] within the current scene. In the context of scripting, it is a variable type that's used to reference entities by several possible methods. These are described in the table below. If the argument type for a scripting function is " |
^Reference Type^Description^Example^ | ^Reference Type^Description^Example^ | ||
Line 10: | Line 10: | ||
|Tile by Coordinate|The [[tile]] at the specified XYZ [[coordinate]].|tile[2, | |Tile by Coordinate|The [[tile]] at the specified XYZ [[coordinate]].|tile[2, | ||
|Initiator|The [[character]] who triggered the [[script]] through interaction.|damage_entity(initiator, | |Initiator|The [[character]] who triggered the [[script]] through interaction.|damage_entity(initiator, | ||
- | |Party Member|The party member with the specified member ID. Supplying a member ID of " | + | |Party Member|The party member with the specified member ID. Supplying a member ID of " |