Detect Random Race

Status
Not open for further replies.
i dont think there is a way to detect the 'random' race selector but i know you can make a condition for a trigger that is a "Race Comparison"

if race of player 1 is equal to Human/orc/undead/nightelf.

maybe there is but idk it :(
 
That it is. In fact, it is a custom script:
  • Set Player = Player 1
  • Custom script: set udg_Boolean = IsPlayerRacePrefSet(udg_Player, RACE_PREF_RANDOM)
Where "Boolean" is a variable of your choice.
If Boolean is true, then the race is "random."
"Player" is a variable for any player you want.
 
Last edited:
Status
Not open for further replies.
Back
Top