This wiki is out of date, use the continuation of this wiki instead

Rand seed

From FenixWiki

Revision as of 16:03, 1 March 2008 by Sandman (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


[edit] Definition

INT rand_seed ( <INT seed> )

Seeds the random generator, used in rand().

This is useful for synchronizing the random generator on multiple machines, as when the same seed is used, calls to rand() with the same limits will return values in the same order on all the machines.

[edit] Parameters

INT seed - The seed for the random generator used in rand().

[edit] Returns

INT : true


Math Functions
Abs() • Acos() • Asin() • Atan() • Cos() • Fget_angle() • Fget_dist() • Get_distx() • Get_disty() • Pow() • Rand() • Rand_seed() • Sin() • Sqrt() • Tan() •
Personal tools