group

Collision group. Entities with the same nonzero group value don't collide with each other when IGNORE_PUSH is set in the movement call. A7.79

Range:

0..30 (default: 0)

Type:

var

Remarks:

Example:

action grenade()
{
  my.group = 2; // runs through all entities with the same group value
  while(1) {
    c_move(....,IGNORE_PUSH);
...

See also:

c_move, c_rotate, c_trace,c_scan, c_ignore, push, PASSABLE, EVENT_PUSH

► latest version online