Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Triggers/Functions/Difficulty Value (Integer)

From SC2Mapster Wiki
Jump to: navigation, search

AI Function

Difficulty Value (Integer)


AI - Difficulty( easy / normal / advanced / expert )

Galaxy Code

int libNtve_gf_DifficultyValueInt ( int easy, int normal, int advanced, int expert )


Returns the integer parameter that matches the current difficulty setting. This is for campaign use (in which all players have the same difficulty setting), so player 1's setting is used.


  • int easy
    • Name: Easy
  • int normal
    • Name: Normal
  • int advanced
    • Name: Advanced
  • int expert
    • Name: Expert

Additional Information