Script: Creaturemaker

From Ultima Online: The Second Age
Jump to: navigation, search
trigger use
{
  if (!hasObjVar(this, "creatureTemplate"))
  {
    return (0x01);
  }
  int Q4FB = getObjVar(this, "creatureTemplate");
  obj Q5BL = createGlobalNPCAt(Q4FB, getLocation(user), 0x00);
  return (0x01);
}