User Tools

Site Tools


set_entity_property

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
Next revisionBoth sides next revision
set_entity_property [2017/08/17 10:09] justinset_entity_property [2018/03/16 09:49] justin
Line 4: Line 4:
 Sets a custom property for an entity to the specified value. This property can then be referenced elsewhere, for example when evaluating a condition. When editing this function in the [[Script Editor]], the [[Variable Expression Builder]] provides an easy way to choose which value you'd like to assign to the property. Sets a custom property for an entity to the specified value. This property can then be referenced elsewhere, for example when evaluating a condition. When editing this function in the [[Script Editor]], the [[Variable Expression Builder]] provides an easy way to choose which value you'd like to assign to the property.
  
 +====Signature:====
 <code python> <code python>
 set_entity_property(entity, property_name, property_value) set_entity_property(entity, property_name, property_value)
Line 14: Line 15:
  
 <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 and that can be accessed at any time. For more information, see [[Set Global Property]].+You can also store general, game-wide properties that are not specific to a tile, object, or character. For more information, see [[Set Global Property]].
 </WRAP> </WRAP>
  
set_entity_property.txt · Last modified: 2021/04/21 18:51 by justin