Open main menu

Difference between revisions of "Wintermute/Plugins"

372 bytes removed ,  23:42, 18 February 2020
Line 91: Line 91:
Standard plugin.
Standard plugin.


Required property: '''StatsAvailable'''
Required property: '''StatsAvailable''' (game waits until it's true)


Required method: '''SetAchievement'''
Required method: '''SetAchievement''' (to set 18 achievements)
 
Usage:
<nowiki>
while(!(SteamAchieve.StatsAvailable)) {
Sleep(20);
}
if(Achievement0) {
SteamAchieve.SetAchievement("corrosion_achievement_0");
}
Sleep(1000);
if(Achievement1) {
SteamAchieve.SetAchievement("corrosion_achievement_1");
}
Sleep(1000);
if(Achievement2) {
SteamAchieve.SetAchievement("corrosion_achievement_2");
}
...
if(Achievement17) {
SteamAchieve.SetAchievement("corrosion_achievement_17");
}
</nowiki>


== [[Dr. Doyle - Mystery Of The Cloche Hat]] ==
== [[Dr. Doyle - Mystery Of The Cloche Hat]] ==
234

edits