Background for Starfield
Member of the Game script
boolfunctionGetDieRollSuccess(intChance, intMinResult=1, intNumberOfSides=100, intDebugDieRoll=-1, intForcedDieRoll=-1)Global

Description

Documentation Comment

Get if a die roll result was a success


Parameters

  1. intChance

  2. intMinResult=1

  3. intNumberOfSides=100

  4. intDebugDieRoll=-1

  5. intForcedDieRoll=-1


Examples

Auto-Generated Example

int myInt__Chance
int myInt__MinResult
int myInt__NumberOfSides
int myInt__DebugDieRoll
int myInt__ForcedDieRoll

bool returnedValue = Game.GetDieRollSuccess(myInt__Chance, myInt__MinResult, myInt__NumberOfSides, myInt__DebugDieRoll, myInt__ForcedDieRoll)
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.