Scripting

From RPG Creation Kit
Revision as of 19:48, 6 March 2022 by Silvematt (talk | contribs) (Created page with "In the RPG Creation Kit, Scripting refers to the process of creating C# Scripts that use '''pre-made''' functions made to interact with the key elements of the Kit. Those pre-made functions are usually contained in the RCKFunctions class and can be used for example to spawn an NPC, open/lock a Door, add or update a Quest, change a Dialogue of an NPC and so on and so forth. Scripting is usually done by few lines of code and very often those line...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In the RPG Creation Kit, Scripting refers to the process of creating C# Scripts that use pre-made functions made to interact with the key elements of the Kit. Those pre-made functions are usually contained in the RCKFunctions class and can be used for example to spawn an NPC, open/lock a Door, add or update a Quest, change a Dialogue of an NPC and so on and so forth.

Scripting is usually done by few lines of code and very often those lines are just calls of pre-made functions, for that reason Scripting is doable also by who has little or no programming knowledge. It's important to note that it is an essential part of the RPG Creation Kit and something that sooner or later you will need.

Scripting is done through different types of scripts, that all should be used in the correct context: