This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
execute_script [2020/03/26 09:37] – justin | execute_script [2021/04/21 18:29] (current) – justin | ||
---|---|---|---|
Line 15: | Line 15: | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | execute_script(" | + | execute_script(" |
</ | </ | ||
// | // | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Execute Script** function to trigger scripted movements for an NPC or the camera without holding up the main script of a cutscene. | + | Use the **Execute Script** function to trigger scripted movements for an NPC or the camera without holding up the main script of a cutscene, or to encapsulate reusable functionality within a separate script. |
</ | </ | ||