Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function timeOscillate(maxscale, minscale, speedfactor)
- if not speedfactor then speedfactor = 1 end
- return ((maxscale + minscale)/2 + FixedMul((maxscale - minscale), sin(leveltime*ANG1*speedfactor)/2))
- end
- //you could input "timeOscillate(13*FRACUNIT/10, 9*FRACUNIT/10)" (or you could do "timeOscillate(13*FRACUNIT, 9*FRACUNIT)/10" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement