TriggerRandom

From PGE Wiki
Jump to: navigation, search

Prototype

TriggerRandom,CHOICE 1,CHOICE 2,CHOICE 3,CHOICE 4,Active time,-

Description

Triggers one of the 4 events at random.

Example

// Trigger a random event. 3000 has a higher chance of being triggered (50%)
// because it's listed twice
TriggerRandom,1000,2000,3000,3000,1,0