faves
Initiate
I wrote a section of code, want to change the AI of the pet, but is invalid, who can help me,thanks a lot.
As if this code has no effect:
-------------------------------------------------
switch (info.ButtonID)
{
case 0:
{
if (ct.Controlled)
{
ct.ChangeAIType(AIType.AI_NecroMage);
from.SendMessage("changeAI to Necromancy!");
}
break;
}
As if this code has no effect:
-------------------------------------------------
switch (info.ButtonID)
{
case 0:
{
if (ct.Controlled)
{
ct.ChangeAIType(AIType.AI_NecroMage);
from.SendMessage("changeAI to Necromancy!");
}
break;
}