If you want to help us maintaining this wiki, check out our discord server: https://discord.gg/3u69jMa 

*ScriptedTrigger

From SWRC Wiki
Jump to navigation Jump to search
//=============================================================================
// ScriptedTrigger
// replaces Counter, Dispatcher, SpecialEventTrigger
//=============================================================================
class ScriptedTrigger extends ScriptedSequence;

#exec Texture Import File=..\engine\textures\TrigSpcl.pcx Name=S_SpecialEvent Mips=Off MASKED=1

function PostBeginPlay()
{
	local ScriptedTriggerController TriggerController;

	Super.PostBeginPlay();
	TriggerController = Spawn(class'ScriptedTriggerController');
	TriggerController.InitializeFor(self);
}

function bool ValidAction(Int N)
{
	return Actions[N].bValidForTrigger;
}



defaultproperties
{
     bStatic=False
     Texture=Texture'Gameplay.S_SpecialEvent'
}