// Create Assassin void main() { object oSpawn=GetWaypointByTag("ASS_SPAWN"); object oAss; string sRes=GetLocalString(GetPCSpeaker(),"sCGAss"); int nTarget=GetLocalInt(OBJECT_SELF,"nMAGEASST"); oAss=CreateObject(OBJECT_TYPE_CREATURE,sRes,GetLocation(oSpawn)); SetLocalObject(GetPCSpeaker(),"oCGAssassin",oAss); SetLocalInt(oAss,"nSpeed",8); SetLocalInt(oAss,"nTarget",nTarget); SetAILevel(oAss,AI_LEVEL_NORMAL); ExecuteScript("cg_assassin",oAss); }