barsunduk

renpy SensitiveIf test

Jul 25th, 2015 (edited)
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. init:
  2.     $ mars_flag = False
  3.    
  4. screen test:
  5.     textbutton "Marsopolis":
  6.         action [ Jump("mars"), SensitiveIf(mars_flag) ]
  7.    
  8. label start:
  9.     show screen test
  10.     "False"
  11.     $ mars_flag = True
  12.     "True"
  13.     return
  14.  
  15. label mars:
  16.     "Mars!"
  17.     return
Advertisement
Add Comment
Please, Sign In to add comment