Please note that new user registrations disabled at this time.

Really weird bug!

This forum is to be used for all discussions pertaining to BioWare's Baldur's Gate II: Shadows of Amn.
Post Reply
User avatar
Bruce Lee
Posts: 1712
Joined: Tue Mar 20, 2001 11:00 pm
Location: Lund, Skane, Sweden
Contact:

Really weird bug!

Post by Bruce Lee »

I was in de arnise keep on the second floor. I had just crowded the Yuan Ti mage and was about to start pounding when I the Yuan Ti fired a sequencer of strenght, improved invisibilty and haste. This in itself is strange cause I have never seen him do it before but even weirder is the fact that he fired it at anomen!!! Has that ever happened to any of you guys?
You can't handle the truth!
User avatar
The fallen one
Posts: 326
Joined: Wed Jan 10, 2001 11:00 pm
Location: Edmonton,Alberta,Canada
Contact:

Post by The fallen one »

Never has happened here. Sure is weird. Maybe you should have asked him to tag along with the party. But I guess he needed to die. ;)
User avatar
Craig
Posts: 4996
Joined: Fri Dec 29, 2000 11:00 pm
Location: England
Contact:

Post by Craig »

One of my pcs once cast cure poison on a troll
I'm Devious

This is my Gift. This is my Curse. Who am I? I'm SpiderCraig
User avatar
Shig
Posts: 8
Joined: Fri Oct 26, 2001 10:00 pm
Location: canada
Contact:

Post by Shig »

I've seen him fire that spell sequencer every time but never on any of my dudes.
Look at me, I can't fly!
User avatar
KensaiRyu
Posts: 622
Joined: Sat Feb 03, 2001 11:00 pm
Contact:

Post by KensaiRyu »

Originally posted by craig:
<STRONG>One of my pcs once cast cure poison on a troll</STRONG>
Hehe that is funny.

@ Bruce, that mage runs the script MAGE12D, heres the lines that cause this behavior:

IF
See(NearestEnemyOf(Myself))
See(NearestMyGroupOfType)
!Dead("Myself")
Global("SpellSequencer","LOCALS",0)
THEN
RESPONSE #100
DisplayString(LastSeenBy(Myself),'Spell Sequencer - Fired')
DisplayString(LastSeenBy(Myself),'Spell Sequencer - Haste')
ReallyForceSpell(LastSeenBy(Myself),WIZARD_HASTE)
DisplayString(LastSeenBy(Myself),'Spell Sequencer - Improved Invisibility')
ReallyForceSpell(LastSeenBy(Myself),WIZARD_IMPROVED_INVISIBILITY)
DisplayString(LastSeenBy(Myself),'Spell Sequencer - Strength')
ReallyForceSpell(LastSeenBy(Myself),WIZARD_STRENGTH)
SetGlobal("SpellSequencer","LOCALS",1)
END

The problem is this: the last seen by should point to this : See(NearestMyGroupOfType), meaning another member of the Yuanti.

However since his last seen by was anomen and the conditional exectuted, it means Anomen is considered a member of the same group as the yuanti...I had problems with the Trigger InMyGroup(Object), and consider that trigger broken. That trigger's function appears to be about the same as NearestMyGroupOfType, thus that trigger may well be broken too, since I dont think Anomen is a class 'LongSword', race 'Yuanti", Aligned 'Chaotic Evil' with a gender of Neither like the yuanti is (KPSHAM.cre if you want to see for yourself). Also the area file for that area is AR1303.are.
Wizards Of Eregion Expansion Team Presents:
[url="http://www24.brinkster.com/manveru"]Dagor Laureland[/url]
[url="http://groups.yahoo.com/group/IEEAIS"]Infinity Engine Enemy AI Scriptors Council[/url]
Post Reply