— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Sets the tooltip for the specified entity. An empty string value can be specified for the tooltip text in order to remove the entity's tooltip.
set_entity_tooltip(entity, tooltip_text)
set_entity_tooltip(self, "Wooden Chest")
Results: The tooltip text for the entity that triggered this script will be changed to “Wooden Chest”.
Use the Set Entity Script function to change the behavior of an object after it has been interacted with or to remove its script so it can no longer be interacted with, for example a door that the player cannot close once opened.