Baldur's Gate Wiki:Game source files/BCS/GNOLL5A

The AI script GNOLL5A.bcs is used by Ludrug's gnolls and handles events during the encounter with the band. It remains unchanged throughout the Baldur's Gate versions and editions. It's still part of the Baldur's Gate II code, but not referenced in that game, thus not listed here.

IF Global("GnollFightOver","GLOBAL",1) Allegiance(Myself,NEUTRAL) THEN RESPONSE #100 Enemy END

IF Heard("Gnoll5a",1) // Gnoll Allegiance(Myself,NEUTRAL) THEN RESPONSE #100 Enemy END

IF Global("GnollFightOver","GLOBAL",2) THEN RESPONSE #100 EscapeArea END

IF AttackedBy([GOODCUTOFF],DEFAULT) THEN RESPONSE #100 Shout(1) END