User Tools

Site Tools


set_entity_tooltip

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
set_entity_tooltip [2020/04/28 09:51] justinset_entity_tooltip [2020/04/28 10:00] justin
Line 14: Line 14:
  
 <WRAP center round info 100%> <WRAP center round info 100%>
-You can use [[placeholder expression|placeholder expressions]] within the tooltip text, for example to update an [[entity|entity's]] tooltip based on the current value of a stat or custom property stored on that [[entity]].+You can use [[placeholder expression|placeholder expressions]] within the tooltip text, for example to update an [[entity|entity's]] tooltip based on the current value of a stat or custom property of that [[entity]].
 </WRAP> </WRAP>
  
Line 21: Line 21:
 set_entity_tooltip(self, "Wooden Chest") set_entity_tooltip(self, "Wooden Chest")
 </code> </code>
-//Results:// The tooltip text for the [[entity]] that triggered this script will be changed to "Wooden Chest".+//Results:// The tooltip text for the [[entity]] that triggered this [[script]] will be changed to "Wooden Chest".
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
set_entity_tooltip.txt · Last modified: 2021/04/21 18:51 by justin