Warning, file /frameworks/syntax-highlighting/autotests/html/highlight.uc.html was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 <!DOCTYPE html> 0002 <html><head> 0003 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 0004 <title>highlight.uc</title> 0005 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (UnrealScript) - Theme (Breeze Light)"/> 0006 </head><body style="background-color:#ffffff;color:#1f1c1b"><pre> 0007 <span style="color:#898887;">/**</span> 0008 <span style="color:#898887;">* Comment </span> 0009 <span style="color:#898887;">*/</span> 0010 <span style="color:#0057ae;">class</span> DH_SeqAvt_GiveExp <span style="font-weight:bold;">extends</span> SequenceAction; 0011 0012 <span style="font-weight:bold;">var</span>() <span style="color:#0057ae;">float</span> expGive; 0013 <span style="font-weight:bold;">var</span> <span style="color:#0057ae;">float</span> result; 0014 0015 <span style="color:#898887;">// line comment</span> 0016 <span style="font-weight:bold;">event</span> Activated() 0017 { 0018 <span style="font-weight:bold;">local</span> DH_PlayerController PC; 0019 PC = DH_PlayerController(GetWorldInfo().GetALocalPlayerController()); 0020 PC.modifyExp(expGive); 0021 result = PC.currentEXP; 0022 } 0023 0024 <span style="font-weight:bold;">defaultproperties</span> 0025 { 0026 ObjName=<span style="color:#bf0303;">"Reward Exp"</span> 0027 ObjCategory=<span style="color:#bf0303;">"DH_PlayerController"</span> 0028 0029 VariableLinks.Empty; 0030 VariableLinks(<span style="color:#b08000;">0</span>)=(ExpectedType=class’SeqVar_Float’, bWriteable=<span style="font-weight:bold;">false</span>, LinkDesc=<span style="color:#bf0303;">"expGive"</span>, PropertyName=expGive) 0031 } 0032 </pre></body></html>