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

Both sides previous revision Previous revision
new:random [2018/02/19 11:28]
korshun
new:random [2018/02/20 16:00] (current)
korshun
Line 3: Line 3:
 These functions are wrappers around [[zdoom>​Random]]. These functions are wrappers around [[zdoom>​Random]].
  
-  * ''​bool randbool()''​ -- returns either true or false+  ​* ''​int randint()''​ -- returns a random integer. 
 +  ​* ''​bool randbool()''​ -- returns either true or false.
   * ''​int randsign()''​ -- returns either 1 or -1. Intended use: ''​randsign() * 100''​.   * ''​int randsign()''​ -- returns either 1 or -1. Intended use: ''​randsign() * 100''​.
  
new/random.txt · Last modified: 2018/02/20 16:00 by korshun