Pick

From NexusWiki
Revision as of 02:57, 19 June 2009 by LordValarian (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Pick(list);

It returns an element from the list, which was chosen by weights. If all the elements’ weight is the same (this is the default), than it is random. If there are no elements, than its 0.