Returns true if character is attacking controlled by L2Project.
NOTE: This does not return true if character is in game combat (attacking mob)!
Example
if (!IsInCombat) StartCombat();
Example
let List = Context.host.type('System.Collections.Generic.List');
let DayOfWeek = Context.host.type('System.DayOfWeek');
let week = Context.host.newObj(List(DayOfWeek), 7);
week.Add(DayOfWeek.Sunday);
Disable character control by L2Project, this makes L2Project NOT active for non-attack actions (buffs, heals, etc.).
Example
if (IsEnabled) DisableBot();
Enable character control by L2Project, this makes L2Project active for non-attack actions (buffs, heals, etc.).
Example
if (!IsEnabled) EnableBot();
Enable character control by L2Project, this makes L2Project active for attack actions (combat).
Example
if (!IsInCombat) StartCombat();
Enable character control by L2Project, this makes L2Project active for attack actions (combat).
Example
if (IsInCombat) StopCombat();
Returns true if character is controlled by L2Project.
Example