TriggerRandom

From Moondust Wiki
Revision as of 00:10, 9 May 2015 by Horikawa otane (talk | contribs) (Created page with "Category: LunaDLL Category: Autocode Commands ==Prototype== TriggerRandom,CHOICE 1,CHOICE 2,CHOICE 3,CHOICE 4,Active time,- ==Description== Triggers one of the 4 even...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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