Script Function: Q4ML

From Ultima Online: The Second Age
Revision as of 05:14, 10 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4ML(<span style="color:#0000FF">obj</span> user, <span style="color:#0000FF">obj</span> u...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4ML(obj user, obj usedon)
 {
   int Q5NC = 0x00;
   if (Q4CU(user, usedon))
   {
     loc Q4VS = getLocation(user);
     loc there = getLocation(usedon);
     faceHere(user, getDirectionInternal(Q4VS, there));
     doLocAnimation(getLocation(usedon), 0x376A, 0x09, 0x20, 0x00, 0x00);
     sfx(there, 0x01F5, 0x00);
     useItem(user, usedon);
     Q5NC = 0x01;
   }
   Q5UQ(this);
   return (Q5NC);
 }