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

# Gameplay.MessageDeath

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

    class MessageDeath extends Engine.Message
    	editinlinenew;

    var() Name killer;
    var Name victim;
    var() Name squad;

    var PlayerReplicationInfo killerPRI;
    var PlayerReplicationInfo victimPRI;

    // construct
    overloaded function construct(Name _killer, Name _victim, PlayerReplicationInfo _killerPRI, PlayerReplicationInfo _victimPRI, optional Name _squad)
    {
    	killer = _killer;
    	victim = _victim;
    	killerPRI = _killerPRI;
    	victimPRI = _victimPRI;

    	squad = _squad;

    	SLog(killer $ " just killed " $ victim);
    }

    // editorDisplay
    static function string editorDisplay(Name triggeredBy, Message filter)
    {
    	return triggeredBy$" dies";
    }

    defaultproperties
    {
    	specificTo	= class'Rook'
    }

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:16.000 - Creation time: st 23.5.2018 00:10:45.314 - Created with UnCodeX