Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 |
//============================================================================= // InterpolatingObject. //============================================================================= class InterpolatingObject extends Decoration; #exec MESH IMPORT MESH=CandleM ANIVFILE=MODELS\candle_a.3D DATAFILE=MODELS\candle_d.3D X=0 Y=0 Z=0 #exec MESH ORIGIN MESH=CandleM X=0 Y=0 Z=-50 YAW=64 #exec MESH SEQUENCE MESH=candleM SEQ=All STARTFRAME=0 NUMFRAMES=1 #exec MESH SEQUENCE MESH=candleM SEQ=Still STARTFRAME=0 NUMFRAMES=1 #exec TEXTURE IMPORT NAME=JCandle1 FILE=MODELS\candle.PCX GROUP=Skins FLAGS=2 #exec MESHMAP SCALE MESHMAP=candleM X=0.03 Y=0.03 Z=0.06 #exec MESHMAP SETTEXTURE MESHMAP=candleM NUM=1 TEXTURE=Jcandle1 function Destroyed() { event=''; // no event on destruction; Super.Destroyed(); } function interpolateend(actor Other) { } function Trigger( actor Other, pawn EventInstigator ) { local InterpolationPoint i; foreach AllActors( class 'InterpolationPoint', i, Event ) { if( i.Position == 0 ) { log("first point "$i); SetCollision(false,false,false); Target = i; SetPhysics(PHYS_Interpolating); PhysRate = 1.0; PhysAlpha = 0.0; bInterpolating = true; } } } defaultproperties { bStatic=False DrawType=DT_Mesh Mesh=LodMesh'UnrealShare.CandleM' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |