home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
Gameplay
/
Classes
/
ACTION_IfCondition.uc
< prev
next >
Wrap
Text File
|
2003-12-11
|
592b
|
30 lines
class ACTION_IfCondition extends ScriptedAction;
var(Action) name TriggeredConditionTag;
var TriggeredCondition T;
function ProceedToNextAction(ScriptedController C)
{
if ( (T == None) && (TriggeredConditionTag != 'None') )
ForEach C.AllActors(class'TriggeredCondition',T,TriggeredConditionTag)
break;
C.ActionNum += 1;
if ( !T.bEnabled )
ProceedToSectionEnd(C);
}
function bool StartsSection()
{
return true;
}
function string GetActionString()
{
return ActionString@T@TriggeredConditionTag;
}
defaultproperties
{
ActionString="If condition"
}