Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2014
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. */
  3. var baseObject = this;
  4.  
  5. var myPermanentVariable = "Derp";
  6. var incrementation = 0;
  7.  
  8. this.chooseAction = function()
  9. {
  10.     baseObject.say( myPermanentVariable + " " + incrementation );
  11.     incrementation++;
  12. }
  13.  
  14. /*
  15.     ^ Would make your base say "Derp" every frame with incrementation attached to it.
  16.         All the world of hurt would be solved.
  17. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement