Scripting Cheatsheet: Difference between revisions

Port scripting cheatsheet by Okami to the wiki + Minor fixes
 
m Add to tutorials category
Line 1: Line 1:
This is a cheat sheet of some of the most common actions and effects for actors to perform in a cutscene. Some of the things explained in this page include: how to make an, actor move, how to make them talk, how to make them emote, change animation, etc.
This is a cheat sheet of some of the most common actions and effects for actors to perform in a cutscene. Some of the things explained in this page include: how to make an actor move, how to make them talk, how to make them emote, change animation, etc.


If you want to test this yourself, make sure that you copy ALL of the lines required. For example, if you wish to change the animation of a character, you need the with statement, and the SetAnimation code, as well as the line underneath it. You also cannot put multiple actions in a with statement. You must put a new with statement for every command that requires it.
If you want to test this yourself, make sure that you copy ALL of the lines required. For example, if you wish to change the animation of a character, you need the with statement, and the SetAnimation code, as well as the line underneath it. You also cannot put multiple actions in a with statement. You must put a new with statement for every command that requires it.
Line 269: Line 269:
}
}
</syntaxhighlight>
</syntaxhighlight>
[[Category:Tutorials]]