Core.Object | +--Engine.Actor | +--Engine.Mover | +--XIII.XIIIMover | +--XIII.PorteDecors
void
PostBeginPlay()
//____________________________________________________________________ // To be sure no one has left another initial state for this ?
PlayerTrigger(Actor Other, Pawn EventInstigator)
00001 //----------------------------------------------------------- 00002 // 00003 //----------------------------------------------------------- 00004 class PorteDecors extends XIIIMover; 00005 00006 //____________________________________________________________________ 00007 // To be sure no one has left another initial state for this ? 00008 function PostBeginPlay() 00009 { 00010 Super.PostBeginPlay(); 00011 gotostate('ForeverLocked'); 00012 } 00013 00014 //____________________________________________________________________ 00015 simulated event SetInitialState() 00016 { 00017 bScriptInitialized = true; 00018 GotoState('ForeverLocked'); 00019 } 00020 00021 //____________________________________________________________________ 00022 auto state ForeverLocked 00023 { 00024 ignores Touch, Bump, Trigger, TakeDamage; 00025 00026 function PlayerTrigger( actor Other, pawn EventInstigator ) 00027 { 00028 PlaySound(OpeningSound); 00029 } 00030 } 00031 00032 00033 00034 defaultproperties 00035 { 00036 bAcceptsProjectors=True 00037 bInteractive=False 00038 Physics=PHYS_None 00039 bPathColliding=True 00040 }