Files
RedBear-OS/local/recipes/kde/kf6-syntaxhighlighting/source/autotests/input/highlight.uc
T

26 lines
524 B
Ucode
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* Comment
*/
class DH_SeqAvt_GiveExp extends SequenceAction;
var() float expGive;
var float result;
// line comment
event Activated()
{
local DH_PlayerController PC;
PC = DH_PlayerController(GetWorldInfo().GetALocalPlayerController());
PC.modifyExp(expGive);
result = PC.currentEXP;
}
defaultproperties
{
ObjName="Reward Exp"
ObjCategory="DH_PlayerController"
VariableLinks.Empty;
VariableLinks(0)=(ExpectedType=classSeqVar_Float, bWriteable=false, LinkDesc="expGive", PropertyName=expGive)
}