Lua Score Datatype

Case number:699969-995812
Opened by:AsDawnBreaks
Opened on:Saturday, August 24, 2013 - 21:21
Last modified:Saturday, August 24, 2013 - 21:21

Here's what I was attempting to do

local function StartScript(int sScriptSlot)
initScore = current.GetScore()
scriptHS = initScore
scriptStart = true

Basically, what I want to do is create my own recent bests, defined by me. I was going to do it, but I realized I would have to update the variables every time anything changes. So I propose something like this initScore = structure.Score(how)

On initiation, it is the current score. It would automatically update to the current score when the score changes to your parameter (higher or lower, not sure if there would be anything else). Otherwise, it is just an integer (able to compare).


(Sat, 08/24/2013 - 21:21  |  0 comments)


Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons