User Tools

Site Tools


entity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
entity [2021/06/16 14:58]
justin
entity [2021/06/16 15:25]
justin
Line 7: Line 7:
 |Entity by ID|The entity with the specified unique ID.|look_at_target(entity["orange_cat"])| |Entity by ID|The entity with the specified unique ID.|look_at_target(entity["orange_cat"])|
 |Self|The entity to which the [[script]] was assigned.|play_animation(self, "open")| |Self|The entity to which the [[script]] was assigned.|play_animation(self, "open")|
-|Player|The main [[player character]]. When referenced during a turn-based battle, this will be the active or most recent party member based on the current turn.|set_movement_speed(player, 60)|+|Player|The primary [[player character]]. When referenced during a turn-based battle, this will be the active or most recent party member based on the current turn.|set_movement_speed(player, 60)|
 |Tile by Coordinate|The [[tile]] at the specified XYZ [[coordinate]].|tile[2, 4, 0]| |Tile by Coordinate|The [[tile]] at the specified XYZ [[coordinate]].|tile[2, 4, 0]|
 |Initiator|The [[character]] who triggered the [[script]] through interaction.|damage_entity(initiator, 2)| |Initiator|The [[character]] who triggered the [[script]] through interaction.|damage_entity(initiator, 2)|
-|Party Member|The party member with the specified member ID. Supplying a member ID of "player" will reference the main [[player character]].|heal_entity(party.member["Sarah"], 5)|+|Party Member|The party member with the specified member ID. Supplying a member ID of "player" will return the primary [[player character]].|heal_entity(party.member["Sarah"], 5)|
  
entity.txt ยท Last modified: 2021/06/16 15:25 by justin