Core.Object | +--Engine.Actor | +--XIII.SMAttached | +--XIDCine.CineChampSM
void
AttachTo(Pawn p)
00001 //----------------------------------------------------------- 00002 // 00003 //----------------------------------------------------------- 00004 class CineChampSM extends SMAttached; 00005 00006 FUNCTION AttachTo(Pawn p) 00007 { 00008 /* DebugLog("CineCigareSM::AttachTo"); 00009 p.AttachToBone(self,'X R Hand'); 00010 SetRelativeLocation(Default.RelativeLocation); 00011 SetRelativeRotation(Default.RelativeRotation); 00012 */ 00013 // if (bDansLaMain) 00014 // { 00015 // log(self$"be n je le met dans la main"); 00016 P.AttachToBone(self,'x l hand'); 00017 SetRelativeLocation(RelativeLocation); 00018 SetRelativeRotation(RelativeRotation); 00019 // } 00020 // else 00021 // { 00022 // RelativeLocation=(X=-3.000000,Y=4.000000,Z=10.000000) 00023 // RelativeRotation=(Pitch=-17500,Yaw=-100,Roll=31000) 00024 // P.AttachToBone(self,'x r thigh'); 00025 // SetRelativeLocation(RelativeLocation); 00026 // SetRelativeRotation(RelativeRotation); 00027 // } 00028 } 00029 00030 00031 00032 00033 defaultproperties 00034 { 00035 RelativeLocation=(X=6.000000,Y=-3.000000) 00036 RelativeRotation=(Pitch=62768,Yaw=16384,Roll=32000) 00037 StaticMesh=StaticMesh'MeshObjetsPickup.Champglass' 00038 }