Script Function: Q4M2

From Ultima Online: The Second Age
Revision as of 23:05, 11 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4M2(<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 Q4M2(obj user, obj usedon)
 {
   int Q5NC = 0x00;
   if (Q41R(user, usedon))
   {
     loc Q4VS = getLocation(user);
     loc there = getLocation(usedon);
     faceHere(user, getDirectionInternal(Q4VS, there));
     doMobAnimation(usedon, 0x376A, 0x09, 0x20, 0x00, 0x00);
     sfx(there, 0x0214, 0x00);
     int Q527 = Q41J(user, usedon, 0x00, this);
     Q5NC = 0x01;
     Q426(user, usedon, 0x00, "It is possible for you to be resurrected now. Do you wish to try?");
   }
   Q5UQ(this);
   return (Q5NC);
 }