User Tools

Site Tools


add_effect

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
add_effect [2024/01/27 13:26] justinadd_effect [2024/01/27 14:24] justin
Line 1: Line 1:
 ======Add Effect====== ======Add Effect======
 ---- ----
-(WIP) +Adds an [[effect]] at the specified [[coordinate]] within the [[map]]. The [[entity]] ID is optional and will be assigned to the new [[effect]] if supplied. If the [[effect]] is configured as "One Shot", it will need to be enabled via the [[Enable Effect]] function once it has been added.
- +
-Adds [[character|character]] to the specified [[tile|tile]] within the [[map|map]] (if the [[tile|tile]] is not already occupied by another [[character|character]]). The [[entity|entity]] ID is optional and will be assigned to the new [[character|character]] if supplied.+
  
 ====Signature:==== ====Signature:====
 <code python> <code python>
-add_character(effect_name, coordinate, entity_id)+add_effect(effect_name, coordinate, entity_id)
 </code> </code>
  
Line 29: Line 27:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Add Effect** function to...+Use the **Add Effect** function to add weather or environmental effects to a scene, e.grain or snow to cover an outdoor [[map]], or flames to indicate that something has caught on fire.
 </WRAP> </WRAP>
  
add_effect.txt · Last modified: 2024/01/27 14:24 by justin