26 lines
734 B
Plaintext
26 lines
734 B
Plaintext
<beginfold id='1'>/*</beginfold id='1'>*
|
||
* Comment
|
||
<endfold id='1'>*/</endfold id='1'>
|
||
class DH_SeqAvt_GiveExp extends SequenceAction;
|
||
|
||
var() float expGive;
|
||
var float result;
|
||
|
||
// line comment
|
||
event Activated()
|
||
<beginfold id='2'>{</beginfold id='2'>
|
||
local DH_PlayerController PC;
|
||
PC = DH_PlayerController(GetWorldInfo().GetALocalPlayerController());
|
||
PC.modifyExp(expGive);
|
||
result = PC.currentEXP;
|
||
<endfold id='2'>}</endfold id='2'>
|
||
|
||
defaultproperties
|
||
<beginfold id='2'>{</beginfold id='2'>
|
||
ObjName="Reward Exp"
|
||
ObjCategory="DH_PlayerController"
|
||
|
||
VariableLinks.Empty;
|
||
VariableLinks(0)=(ExpectedType=class’SeqVar_Float’, bWriteable=false, LinkDesc="expGive", PropertyName=expGive)
|
||
<endfold id='2'>}</endfold id='2'>
|