Game Development Reference
In-Depth Information
50/50 chance evaluator
A 50/50 chance evaluator is a random roll and returns true half of the time:
SoldierEvaluators.lua :
function SoldierEvaluators_Random(userData)
return math.random() >= 0.5;
end
Search WWH ::




Custom Search