This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
setSteamAchievement(BUNKER_SECRET_1, {flags=1,
clear = true|false})
Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.
See the Indie Bundle Try it for freesetSteamAchievement("BUNKER_SECRET_1") -- this will add the specified achievement to the players achievement list.
setSteamAchievement("BUNKER_SECRET_1", {flags=1, clear = true}) -- this will remove the specified achievement from the players achievement list.
if getProperty("steam_initialized") then -- if it returns true then...
setSteamAchievement("BUNKER_SECRET_1")
end
if getProperty("steam_initialized") then
print("Steam has been found!")
else
print("No Steam anywhere to be seen")
launch_url()
end
if getProperty("steam_initialized") then
print("Steam has been found!")
… do something here
else
print("No Steam anywhere to be seen")
… or do something here
end
And with 4.2 rename the word in the Lua Commands from Steam to GameClient, because we're supporting now Steam and Gog Galaxy
@ Machtnix: Ein Achievement ist praktisch etwas "freischalten". z.B. aufheben einer Zahnbürste schaltet den "Spielfortschritt" frei.
Die Spieler sammeln diese und spielen durchaus das spiel mehrmals durch um alle Achievement freizuschalten. Hört sich komisch an, iss aber so ^^