home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
Gameplay
/
Classes
/
ACTION_DestroyActor.uc
< prev
next >
Wrap
Text File
|
2003-12-11
|
421b
|
29 lines
class ACTION_DestroyActor extends ScriptedAction;
var(Action) name DestroyTag;
function bool InitActionFor(ScriptedController C)
{
local Actor a;
if(DestroyTag != 'None')
{
ForEach C.AllActors(class'Actor', a, DestroyTag)
{
a.Destroy();
}
}
return false;
}
function string GetActionString()
{
return ActionString;
}
defaultproperties
{
ActionString="Destroy actor"
}