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 |
/** * This class allows the PlaySound action to be used in the UI. The only change in this class is to force the Target array * to be a player variable. * * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. */ class UIAction_PlaySound extends SeqAct_PlaySound; /** * Determines whether this class should be displayed in the list of available ops in the UI's kismet editor. * * @param TargetObject the widget that this SequenceObject would be attached to. * * @return TRUE if this sequence object should be available for use in the UI kismet editor */ event bool IsValidUISequenceObject( optional UIScreenObject TargetObject ) { // this action is allowed in the UI, but won't work unless the designer hooks up a Player variable to the targets array return true; } defaultproperties { VariableLinks(0)=(ExpectedType=Class'Engine.SeqVar_Player') ObjName="Play Sound UI" Name="Default__UIAction_PlaySound" ObjectArchetype=SeqAct_PlaySound'Engine.Default__SeqAct_PlaySound' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |