/** * * Copyright 2012-2015 Gears for Breakfast ApS. All Rights Reserved. */ class mcu8_SeqAct_ToggleTick extends SequenceAction; var() Array Actors; defaultproperties { ObjName="Toggle Tick" ObjCategory="Toggle" InputLinks(0)=(LinkDesc="Turn On") InputLinks(1)=(LinkDesc="Turn Off") bCallHandler=false; VariableLinks.Empty; VariableLinks(0)=(ExpectedType=class'SeqVar_Object',LinkDesc="Target",bWriteable=true,PropertyName=Actors) } event Activated() { local Actor a; foreach Actors(a) a.SetTickIsDisabled(InputLinks[1].bHasImpulse); }