User Tools

Site Tools


prpl:randfloat

<- PRPL reference <- Everything Else 2

RandFloat

ArgumentsResultNotation
Float [ - Float]

Description

Pushes a random float between 0 and 1 to the stack

Examples

"I move diffrent every compilement :D" SetText
#moves the text up randomly between 0 and 15
RandFloat  mul(15) SetTextY
	stack.Push(new Data((float)GameSpace.instance.RandDouble())); 
 
prpl/randfloat.txt · Last modified: 2023/08/06 11:36 by SpeedCZ