The Black Wyrm's Lair - Forums

Released mods - Baldur's Gate II => Vlad's Compilation => Tortured Souls => Topic started by: King Diamond on January 12, 2006, 04:52:54 PM

Title: Coran script
Post by: King Diamond on January 12, 2006, 04:52:54 PM
CORAN.BAF
There's following code:IF
    Allegiance(Myself,ENEMY)
    !InParty(Myself)
    Global("NPCFight","LOCALS",0)
THEN
    RESPONSE #100
 SetGlobal("NPCFight","LOCALS",1)
 ChangeAIScript("Coranx",CLASS)
 ChangeAIScript("useitem",GENERAL)
 ChangeAIScript("",DEFAULT)
 SetDialog("")
 Continue()
END

The problem is that there's no CORANX.BCS anywhere. Is it just missed or it should be set to something else?
Title: Coran script
Post by: Vlad on January 13, 2006, 08:50:27 PM
This is the generic and very common script for each and every NPC. You may take that of Valygar for example. The same is about that block in Coran's script.

[EDIT] What is the problem by the way? Has Coran ever attacked on sight your PC or NPCs in the party? This block will work only in case you're planning an assault on Coran.  :lol:
Title: Coran script
Post by: King Diamond on January 14, 2006, 01:16:06 PM
What is very common? To set unexisting script?  :P
There IS VALYGX.BCS, but CORANX.BCS doesn't exist. That is a problem...  :)

P.S> I'm just checking some stuff for BGT so I've just encountered that issue - nothing more.
Title: Coran script
Post by: Vlad on January 14, 2006, 06:07:01 PM
You are picky, but it's okay. If you feel better copy VALYGX.BCS and rename to CORANX.BCS.  :)