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

*ScriptedTrigger

From SWRC Wiki
Revision as of 10:54, 14 May 2021 by Plasma (talk | contribs) (Created page with "<source lang="c++"> //============================================================================= // ScriptedTrigger // replaces Counter, Dispatcher, SpecialEventTrigger //=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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'
}