Random script for AI and three tanks Added to patch 1.35: the ability for OGR-Coop to have single-player style objectives, and with them a new few map-script-commands. 1) When OgrSetGameOver is used in an event, the match ends, if we are playing ogr-coop. This is so that mission-scripters can create any win condition they desire in an ogr-coop game. 2) When OgrEnableExtractionCheck is set to false, the game won't end even though players reach at the extraction point in ogr-recon mode. When it's set to true, the check is turned on again. It is turned on by default when a game starts, so that games that does not use the tag will function like normal. 3) TriggerRandomEvent will make it possible to randomize events. You can at random make one out of four different events occur. The events-tags are called event1,event2,event3 and event4, they are paired with chance-tags called chance1,chance2,chance3,chance4. When TriggerRandomEvent is executed, a random number between 0 and 100 is generated, and compared with each chance-tag in order. These are the parameters: · event1 – name of the first event · chance1 – a number between 0 and 100 · event2 - name of the second event · chance2 – between chance1 and 100 · event3 - name of the third event · chance3 – a number between chance2 and 100 · event4 - name of the fourth event · chance4 – a number between chance3 and 100 If chance1=40, chance2=55, chance3=74, chance4=90 then... event1 will run if number >0 and number<40 event2 will run if number =>40 and number<55 event3 will run if number =>55 and number<74 event4 will run if number =>74 and number<90 no event will if the number was => than 90! ....so if the random number was 42, event2 would have run. You do not have to specify all four events, one or more is sufficient. Example: Here is an example with two different events occurring at 50/50 chance: