// September 2015 // Levee Patroller / Dijk Patrouille // This source file is (c) by Deltares. This source file is open source but only available to select users. Do not redistribute without written permission of Stichting Deltares, Delft, The Netherlands. // This header has been automatically generated. //============================================================================= // Class for triggering all objects // Works for everything but should not be used unless really needed // Can trigger all actors (heavier on the processor) // Used to trigger projectors // // WARNING: USE THIS TRIGGER WITH CAUTION ONLY IF NEEDED. FOR EVERYTHING // ELSE USE Trigger ACTOR // // ------------------------------------------------------------ // // © 2007, Geodelft // // Date Id Modification // 2007-08-08 gui Createad to trigger projectors //============================================================================= class GlobalTrigger extends Trigger; event TriggerEvent( Name EventName, Actor Other, Pawn EventInstigator ) { local Actor A; if ( EventName == '' ) return; ForEach AllActors( class 'Actor', A, EventName ) A.Trigger(Other, EventInstigator); } /* Untrigger an event */ function UntriggerEvent( Name EventName, Actor Other, Pawn EventInstigator ) { local Actor A; if ( EventName == '' ) return; ForEach AllActors( class 'Actor', A, EventName ) A.Untrigger(Other, EventInstigator); } defaultproperties { }