Thread: parameters
View Single Post
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 10-18-2009, 02:56 AM

Since it's a number that is used by more than one method, it would be better suited as a world-class variable. Go to the properties tab of the world and create a variable which sets its value to whatever the user wants it to be at the start of the world. This way, you can have any method reference the variable at any time wthout worrying about passing values.
   
Reply With Quote