This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
set_entity_script [2020/04/28 10:23] – justin | set_entity_script [2020/04/28 10:28] – justin | ||
---|---|---|---|
Line 12: | Line 12: | ||
|entity|[[Entity]] to update the [[script]] for.|[[Entity]]|Yes| | |entity|[[Entity]] to update the [[script]] for.|[[Entity]]|Yes| | ||
|script_name|Name of the new [[script]].|[[String]]|Yes| | |script_name|Name of the new [[script]].|[[String]]|Yes| | ||
- | |trigger_type|When to trigger the [[script]] | + | |trigger_type|When to trigger the [[script]]. This argument is only applicable to [[tile|tiles]] |
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | set_entity_script(entity[" | + | set_entity_script(entity[" |
</ | </ | ||
// | // |