// hench_pack1 // // void main() { object oPc = GetItemActivator(); location lPc = GetLocation(oPc); location lWyrmling = GetItemActivatedTargetLocation(); object oWyrmling = CreateObject(OBJECT_TYPE_CREATURE, "henchman_pkcamel", lPc, TRUE); /////////////////////////////////////// name the horse ////////////// SetName (oWyrmling, GetName(GetItemActivator()) + "'s " + " Camel"); ///////////////////////////////////////////////////////////////////// if (GetIsObjectValid(oWyrmling)) { AddHenchman(oPc, oWyrmling); }/* end then (valid owyrmling) */ else { AssignCommand(oPc, ActionSpeakString("Invalid Camel")); }/* end else (valid owyrmling) */ }