i was playing with BrainAI(really i wanted to understood how it work
i made a script just to mount the npc but when i doubleclick(in this case just return a sysmsg) on npc pol console says :
WARNING: pkg/mobiles/brainAI/bundled/tamed/prova.ecl: Unable to find module npc
syslog [pkg/mobiles/brainAI/brain.ecl]: NPC Template: :brainai:Mustang
syslog [pkg/mobiles/brainAI/brain.ecl]: NPC Name : a Mustang
syslog [pkg/mobiles/brainAI/brain.ecl]: Error::StartNerve() - [DblClick] [:brain
AI:bundled/tamed/prova] failed to start! ->Unable to start script
syslog [pkg/mobiles/brainAI/brain.ecl]: ------------
The Script is :
use uo;
use os;
use npc;
include ":brainAI:eventid";
include ":brainAI:npcNerves";
include ":brainAI:npcCommands";
include ":containers:storageAreas";
include ":containers:containers";
include ":gumps:gumps";
include ":attributes:attributes";
include ":attributes:include/stats";
include ":mounts:mounts";
program mercante_aicript(params)
var me := Self();
var npc := params[1];
var event := params[3];
while( npc )
if(event)
case(event.type)
SYSEVENT_DOUBLECLICKED: SendSysMessage(event.source, "Good, you doubleclicked me, it means event works", color := 35);
break;
default:
break;
endcase
event := 0;
endif
SleepMS(5);
event := Wait_For_Event(100000);
endwhile
endprogram
what could be the problem?