Script: Creaturemaker

From Ultima Online: The Second Age
Revision as of 07:34, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">trigger</span> use { <span style="color:#0000FF">if</span> (!<span style="color:#FF0000;font-weight:bold">hasObjVar</span>(this,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);
}