Script by Timmypowergamer
--------------------------
Description:

This trigger allows you to add random elements to your maps. Each time it is triggered it will trigger a random event from a list that you specify. Once all events have been triggered, the next time its triggered it will trigger the Event in its Events>Event field.

This could be used to ramdomize the path a player takes through a level, or to randomize items, and many other things.


Installation:

To use the RandTrigger in your map, simply open the Script-RandTrigger.unr file in unrealed, then open your map. Then add it to your map and save. It is a subclass of Trigger.

Once the RandTrigger has been added to your map, it will stay there as long as there is at least 1 RandTrigger in your map.

To set it up, simply place a rand trigger, and in its properties>RandTrigger>OutEvents field, set up to 6 events to be triggered. Each time the RandTrigger is triggered, it will pick a random event from that list and trigger it. After that the event can no longer be triggered by that RandTrigger. Once all Events in the OutEvent list have been triggered, if you trigger the RandTrigger again it will trigger whatever is in the Events>Event field.

[NOTE]: when entering events, dont skip any spots in the event list. For example, if you were to put an event in slot 0 and 1, and another in slot 3, Only 0 and 1 will be triggered.

