Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. foo_time = 0
  2. foo_time_2 = 0
  3.  
  4. function foo_time_manipulator(global_var, len, sfx)
  5.  
  6. global_var += 2
  7. if global_var < len then
  8. play(sfx)
  9. end
  10. end
  11.  
  12. //so I can write
  13.  
  14. foo_time_manipulator(foo_time, 2, 02)
  15. foo_time_manupulator(foo_time_2, 3, 02)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement