Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# Gameplay.ActionDisplayText

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

    class ActionDisplayText extends Scripting.Action
    	abstract;

    var() string textID;
    var string sectionName; // The localisation section name

    latent function Variable execute()
    {
    	local PlayerCharacterController pcc;

    	Super.execute();

    	// TEMP: Currently there is no text display areas on the HUD, so just send the string to the script log
    //	SLog(sectionName $ ": " $ Localize(sectionName, textID, "Gameplay"));

    	pcc = PlayerCharacterController(parentScript.Level.GetLocalPlayerController());
    	if(pcc != None)
    		pcc.TeamMessage(None, Localize(SectionName, textID, "Localisation\\GUI\\Prompts"), 'Announcer');

    	return None;
    }

    defaultproperties
    {
    	returnType			= None
    	category			= "Other"
    }

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

Class file time: ne 5.9.2004 15:53:24.000 - Creation time: st 23.5.2018 00:10:40.187 - Created with UnCodeX