Dead End St.
Hello fellow hackers. I've ran into a problem when trying to make an AoB. In my attempt to get ArmorGames quests, I started copying the submitting AoB and inject them somewhere in a common used code, like upgrades menu.
I can't seem to understand this one though and how to do it.
This is the respective quest that I want to get
this.AddAchievement("achievement32","Completionist!","Earn all stars","",75,0,"quest_2",true);
And this is the code that submits the quest, I think..
var _loc6_:int = Model.Instance().GetStarsEarned();
if(_loc6_ > 0)
{
_loc9_ = this.GetAchievement("achievement32");
_loc9_.currentProgress = _loc6_;
_loc1_ = _loc9_.currentProgress;
_loc2_ = _loc9_.required;
ArmorGamesAPI.Instance().UpdateQuest(_loc9_.apiID,_loc1_ / _loc2_);
}
What I'd like to do is to take the last UpdateQuest part and modify it to submit the exact amount of stars required.
I dont really understand those variables and what they do.
Can you give me a hand? Thanks
