Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- */
- var baseObject = this;
- var myPermanentVariable = "Derp";
- var incrementation = 0;
- this.chooseAction = function()
- {
- baseObject.say( myPermanentVariable + " " + incrementation );
- incrementation++;
- }
- /*
- ^ Would make your base say "Derp" every frame with incrementation attached to it.
- All the world of hurt would be solved.
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement