nhivanye on 24/3/2005 at 16:29
The difficulty setting can be queried in scripts by using the global dif_currdifficulty. This has the values 0 for 'easy', 1 for 'normal', 2 for 'hard' and 3 for 'expert'. This can be used to change the values of properties in objects linked to the object with the script. The link type TriggerScript is normally used. These links can be given a 'flavour' by setting the m_name property of the link section of the link object (accessed by 'edit link' from the list of links) to some string and this can be set in the script to limit its action to objects with a link of the same flavour.
This works fine when running from "new game" (using A Basic Mission Tutorial by D'spair ) but how you change the difficulty when testing I haven't been able to find out yet.