I might as well give another tip now, you can use Define for 'groups' too to make your code cleaner and better readable, example:

Code:
//collision groups
#define ALLY_GROUP	1
#define ENEMY_GROUP	2
#define NATURE_GROUP	3
#define ITEM_GROUP	4

....
action squirrel() {
   my.group = NATURE_GROUP;
   ...
}

function convert_squirrels() {
   c_ignore(ALLY_GROUP, ITEM_GROUP, 0); //only enemies or nature
   if (c_trace(..., ..., ...) > 0) {
     if (you) you.group = ALLY_GROUP;
   }
}



Maybe a bit offtopic though grin

Last edited by Reconnoiter; 05/31/16 09:38.