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 |
class KFDecoTrampoline extends Decoration; // Decoration #exec OBJ LOAD FILE=HillbillyHorror_anim.ukx var bool bTriggered; simulated function Trigger( actor Other, pawn EventInstigator ) { if ( Level.NetMode != NM_DedicatedServer ) { // function PlayAnim(name AnimName, optional float Duration, optional bool bLoop, optional bool bRestartIfAlreadyPlaying = true, optional float StartTime=0.0f, optional bool bPlayBackwards=false) PlayAnim('Trampoline_Animation'); } bClientTrigger = !bClientTrigger; } simulated event ClientTrigger() { if ( Level.NetMode != NM_DedicatedServer ) { PlayAnim('Trampoline_Animation'); } } defaultproperties { bStatic=False bStasis=False bAlwaysRelevant=True bSkipActorPropertyReplication=True RemoteRole=ROLE_SimulatedProxy NetUpdateFrequency=0.500000 Mesh=SkeletalMesh'HillbillyHorror_anim.Trampoline_Anim' bClientAnim=True } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |