rott/kf_sources/GamePlay/Classes/Action_TRIGGEREVENT.uc
2026-07-14 20:27:09 +07:00

21 lines
386 B
Ucode

class ACTION_TriggerEvent extends ScriptedAction;
var(Action) name Event;
function bool InitActionFor(ScriptedController C)
{
// trigger event associated with action
C.TriggerEvent(Event,C.SequenceScript,C.GetInstigator());
return false;
}
function string GetActionString()
{
return ActionString@Event;
}
defaultproperties
{
ActionString="trigger event"
}