Simple Library

Determine whether or not to run a action based on a percentage chance.

File Details

[Function] Random Percentage Chance

  • R
  • Feb 1, 2013
  • 25.97 KB
  • 452

File Name

GetPercentChance.SC2Map

Supported Versions

    I wrote a simple function where you can determine whether or not to execute some code based on a percentage chance 0% - 100%.

    In order to test it out type "-chance" into the chat area during gameplay. The two "UI - Display" actions will need to be disabled or deleted outside of demoing.

    1.0 Released