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 |
class ACTION_SetHidden extends ScriptedAction; var(Action) bool bHidden; var(Action) name HideActorTag; var Array<Actor> Target; event PostBeginPlay( ScriptedSequence SS ) { local Actor A; if ( HideActorTag != '' ) { ForEach SS.AllActors(class'Actor', A, HideActorTag) Target[Target.Length] = A; } } function bool InitActionFor(ScriptedController C) { local int i; if ( Target.Length > 0 ) { For (i=0; i<Target.Length; i++) Target[i].bHidden = bHidden; } else C.GetInstigator().bHidden = bHidden; return false; } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |