tjhkkr -> RE: Question: lua: Random number of victory points. (3/31/2015 3:23:41 PM)
|
Okay I found the answer with the stuff the Developers provided... NNNN = the maximum number of points possible... The Developers really gave us some great tools to use with LUA... ==== newScore = ScenEdit_GetScore (side) r = math.random(1, NNN) newScore = NewScore + r ScenEdit_SetScore (side, newScore) ==== Now, if I can only figure out how many points to award for surviving uptown Kate (as opposed to Kate Upton).
|
|
|
|