TimedCos

From Garry's Mod
Jump to: navigation, search
 TimedCos( )

Contents

Description

Returns a cosine value that fluctuates based on the current time

Arguments

number frequency

The frequency of fluctuation

Arguments

number min

Minimum value

Arguments

number max

Maxmimum value

Arguments

number offset

Offset variable that doesn't affect the rate of change, but causes the returned value to be offset by time

Returns

number

Cosine value
Personal tools
Navigation