ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:random

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
new:random [2018/02/19 11:28] – created korshunnew:random [2018/02/19 11:28] korshun
Line 4: Line 4:
  
   * ''bool randbool()'' -- returns either true or false   * ''bool randbool()'' -- returns either true or false
-  * ''int randsign()'' -- returns either ''1'' or ''-1''+  * ''int randsign()'' -- returns either 1 or -1. Intended use: ''randsign() * 100''.
  
 ===== RandomPick ===== ===== RandomPick =====
new/random.txt · Last modified: 2018/02/20 16:00 by korshun