home *** CD-ROM | disk | FTP | other *** search
/ Unreal Tournament Game Programming for Teens / UnrealTournamentGameProgrammingForTeens.iso / Chapter Files / Chapter04 / StandUpTrigger.txt
Encoding:
Text File  |  2006-10-26  |  500 b   |  14 lines

  1.     //==========================================================
  2.     // StandUpTrigger.
  3.     //==========================================================
  4.     class StandUpTrigger extends Trigger placeable;
  5.     //#1 Declare a member variable
  6.     // so that it appears in the properties dialog
  7.     var (Message) string StandUpMessage;
  8.     function PostBeginPlay(){
  9.         Super.PostBeginPlay();
  10.    //#2 
  11.    // Assign the value to the parameter     
  12.         Message = StandUpMessage;
  13.     }
  14.