Markus
2011-02-06 06:15:08
Hey,
All the different kinds of objects and animations got different ID's. Currently, every scripter has to grab those himself and if they change all the scripts need to be updated (not that they change that often, but I think it's too boring to grab all the ID's by hand :p).
So how about one big constant include?
Example:
Just a suggestion, but it looks cool to my eyes :p
All the different kinds of objects and animations got different ID's. Currently, every scripter has to grab those himself and if they change all the scripts need to be updated (not that they change that often, but I think it's too boring to grab all the ID's by hand :p).
So how about one big constant include?
Example:
//Reflection ID Include
//Objects
//Woodcutting
const
ref_obj_YEW_TREE = 1309;
ref_obj_YEW_STUMP= 7402;
//Mining
*insert here*
//Animations
//Skilling
ref_anim_CUTTING = 867;
//Items
ref_item_Knife = 946;
Just a suggestion, but it looks cool to my eyes :p