This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
set_entity_property [2020/04/27 14:41] – justin | set_entity_property [2020/04/27 18:10] – justin | ||
---|---|---|---|
Line 10: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |entity|Entity on which the property will be stored.|[[Entity]]|Yes| | + | |entity|[[entity|Entity]] on which the property will be stored.|[[Entity]]|Yes| |
|property_name|Name of the property.|[[String]]|Yes| | |property_name|Name of the property.|[[String]]|Yes| | ||
- | |property_value|Value that will be assigned to the property.|[[String]], | + | |property_value|Value that will be assigned to the property.|[[String]], |
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
- | You can also store general, game-wide properties that are not specific to a tile, object, or character. For more information, | + | You can also store general, game-wide properties that are not specific to a [[tile]], [[object]], or [[character]]. For more information, |
</ | </ | ||
====Example: | ====Example: | ||
- | < | + | < |
set_entity_property(" | set_entity_property(" | ||
</ | </ | ||
Line 25: | Line 25: | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Set Entity Property** function to keep track of important information about specific entities, for example whether an NPC has already been visited by the player. | + | Use the **Set Entity Property** function to keep track of important information about specific |
</ | </ | ||