Hello,
Defines and Variables are almost the same.. but they are not.
The variable is created like so:
var pan_range = 0;
Quote the manual: Variables store Numbers.
You can use these numbers anywhere, on anything.
Defines are made up like so:
Define pan_range, skill1;
defines can be used on all 'entities', not just one; But only entities, since its used like so:
//numbers are random for example
my.pan_range = 25;
..or..
enemy.pan_range = 50;
..or..
player.pan_range = 3234;
..or..
var d_button_down = 0;
...
if(d_button_down == 1){enemy.pan_range = 21;}
Hope that helps you out.
