title: UDK "Error, 'DefaultMesh': Bad command or expression"
body: <p>I'm porting UT3 code to UDK, and I am getting the following compile error with the UDK compiler: </p>
  
  <blockquote>
    <p>C:\UDK\UDK-2010-03\Development\Src\FixIt\Classes\ZPawn.uc(25) : Error, 'DefaultMesh': Bad command or expression</p>
  </blockquote>
  
  <p>The ZPawn class extends UTPawn.</p>
  
  <p>Line 25 is the following:</p>
  
  <pre><code>DefaultMesh = SkeletalMesh(DynamicLoadObject(ZBotOwner(Owner).MeshToUse, class'SkeletalMesh'));
  </code></pre>
  
  <p>Where did DefaultMesh go in UDK?</p>