-
Notifications
You must be signed in to change notification settings - Fork 0
Home
DoDoCat edited this page May 19, 2020
·
9 revisions
Welcome to the Wardeclarer wiki!
You need to follow these steps if you want to create your own script
For example, you have a project named CustomScript
, you need to make this class inherit from WDCScript
like this:
class CustomScript : WDCScript
{
....
}
There are four methods you need to implement in your Custom Script class yourself:
BeforeRunScript
Init
MouseClicked
Update
SetRenderPanel
Once you finish writing your codes, compile it into a dll and copy it into the Wardeclarer Scripts
folder
After that, double-click the wardeclarer.exe and your script will showup in the script selector if your script dll is correct