Original War Support Bug Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report #25  -  Cornell appearance Am10_cont
Posted Mar 07, 2014 - updated May 22, 2014
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Fixed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Fixed
  • Assigned to
     McBenn
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     McBenn
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Time spent
    No time spent
  • Category
    Maps (SAIL)
  • Resolution
    RESOLVED
  • Priority
    Low
  • Reproducability
    Not determined
  • Severity
    Low
  • Targetted for
    icon_milestones.png Not determined
Issue description
While investigating another bug I stumpled upon this piece of code in Am10_cont:

  ZIJE_MIKHAIL:=LoadVariable('us2mikhail_state',1);
  if (ZIJE_MIKHAIL=5) or (ZIJE_MIKHAIL=4)
    then ZIJE_MIKHAIL=true
    else begin ZIJE_MIKHAIL=false;
               if IsLive(Cornel) then KillUnit(Cornel);
         end;


The variable 'us2mikhail_state' stems from Am02 and denotes what happens with Mikhail. Values 4 and 5 correspond to "Was captured but escaped" and "Was captured" respectively. Both leads to "ZIJE_MIKHAIL=true" which means Cornell will appear because Mikhail let him go. Why would he do that if he was captured but escaped?

NEW
When Cornell explains how he fled the Russians there are two possible dialogues

  $ D7a-Corn-6
  - [Cornell met Mikhail in mission 3] You remember Mikhail Berezov? The one who liked burgers!? He let me go.
  $ D7a-Corn-6a
  - [Mikhail has fled or if he was never captured] There was a guy there – Mikhail Berezov – reckoned you saved his life once. He let me go. Told me to say hello.


The first is used if the variable "VIDEL_MIKHAILA" is true. Else the other dialogue. The variable is given the value

  VIDEL_MIKHAILA:=LoadVariable('videl_mikhaila',true);


when the map is loaded. The funny thing is that no variable is ever saved under the name 'videl_mikhaila' hence VIDEL_MIKHAILA will always be "true" (the default value).
Steps to reproduce this issue
-

#2
Comment posted by
 wobbler
Apr 07, 08:23
Because you didn't kill him when you could. There is not much difference in being captured by US and freed by Russians or captured and fled. Besides he likes "Americans, hamburger, good food" and don't see them as enemies. Mikhail don't want the American to be killed and rather help him to flee when he can.

#3
Comment posted by
 McBenn
Apr 14, 11:09
Hm you may have a point there. Its just that if he escapes from you in Am02 it usually means you have tried to kill him before he got away.
#6
Comment posted by
 McBenn
May 15, 18:09
Fixed the lower part with the dialogue. The upper part I belive is intended by Altar.