Thanks for the info.
Another question (Engine Objects/ENTITY/Events/EVENT_DISCONNECT)

Code:
function disconnect_event() 
{
  if (event_type == EVENT_DISCONNECT)
  {
    ptr_remove(me);
  }
}

action actor()
{
  ...
  my.emask |= ENABLE_DISCONNECT; // sensible for disconnects
  my.event = disconnect_event;
  ...
}



I'm assuming that any entity with ENABLE_DISCONNECT attached will definitely know when it's client has indeed disconnected without fail.

Another question under (Engine Objects, ENTITY, Script parameters, skill1..skill100)

Skills can also be accessed through an array index from 0 to 99, f.i. my.skill1 == my.skill[0].

Is the manual stating my.skill3 is the same as my.skill[2] ?
Code:
my.skill3 = 100;
my.skill[2] = 100;


Both statements above sets my.skill3 to (100)?

Manual (Engine Objects, ENTITY, Script parameters, string1, string2)
Code:
str_cpy(name_str,my.string1);


Please give another example on how entity.string is used/or what it can be used for. Thanks.

Last edited by kmega00; 10/14/13 23:43.