Guest User

Untitled

a guest
May 23rd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. # delay scripts example
  2.  
  3. # first we write out script as a string
  4. delay_print = '''print(
  5. '{noun} sure does {verb} {adj}'.format( noun=args[0],
  6. verb=args[1],
  7. adj=args[2]))'''
  8.  
  9. noun = "Matthew"
  10. verb = "love"
  11. adj = "TouchDesigner"
  12.  
  13. # next we run this string.
  14. # this time we'll pass in arguments for our script.
  15. # args are accessed as a list called args. Arguments
  16. # go in order in the run command, and you can see in
  17. # how the script is formatted how we access them.
  18.  
  19. run(delay_print, noun, verb, adj, delayFrames = 60 )
Add Comment
Please, Sign In to add comment