Warning, /frameworks/syntax-highlighting/autotests/input/highlight.uc is written in an unsupported language. File is not indexed.
0001 /**
0002 * Comment
0003 */
0004 class DH_SeqAvt_GiveExp extends SequenceAction;
0005
0006 var() float expGive;
0007 var float result;
0008
0009 // line comment
0010 event Activated()
0011 {
0012 local DH_PlayerController PC;
0013 PC = DH_PlayerController(GetWorldInfo().GetALocalPlayerController());
0014 PC.modifyExp(expGive);
0015 result = PC.currentEXP;
0016 }
0017
0018 defaultproperties
0019 {
0020 ObjName="Reward Exp"
0021 ObjCategory="DH_PlayerController"
0022
0023 VariableLinks.Empty;
0024 VariableLinks(0)=(ExpectedType=class’SeqVar_Float’, bWriteable=false, LinkDesc="expGive", PropertyName=expGive)
0025 }