Jump to content

Search the Community

Showing results for tags 'enum'.

Found 1 result

  1. Hey guys, what is the best equivalent to an Enum property in creation kit? I'm creating a new sub menu for by arena mod that allows the player to choose what type of enemy they would like to play against. Here is an idea of what I'm after. enum EEnemyTypeSelection = EEnemyTypeGhoul, EEnemyTypeRaider, EEnemyTypeMutant ;in the code EEnemyTypeSelection PlayerSelectedEnemy ;This will be set by the menu shown at start of game if(PlayerSelectedEnemy == EEnemyTypeGhoul) spawned_actor = spawn_points[random_spawn].PlaceActorAtMe(LvlFeralGhoul,1) elseif(PlayerSelectedEnemy == EEnemyTypeRaider) spawned_actor = spawn_points[random_spawn].PlaceActorAtMe(LvlRaider,1)
×
×
  • Create New...