UDK "Error, 'DefaultMesh': Bad command or expression"
Posted
by Ricket
on Stack Overflow
See other posts from Stack Overflow
or by Ricket
Published on 2010-03-15T23:38:29Z
Indexed on
2010/03/15
23:39 UTC
Read the original article
Hit count: 446
I'm porting UT3 code to UDK, and I am getting the following compile error with the UDK compiler:
C:\UDK\UDK-2010-03\Development\Src\FixIt\Classes\ZPawn.uc(25) : Error, 'DefaultMesh': Bad command or expression
The ZPawn class extends UTPawn.
Line 25 is the following:
DefaultMesh = SkeletalMesh(DynamicLoadObject(ZBotOwner(Owner).MeshToUse, class'SkeletalMesh'));
Where did DefaultMesh go in UDK?
© Stack Overflow or respective owner