Author Topic: FIXED: Allegiance("Cor",ENEMY)  (Read 2993 times)

Offline jcompton

  • Niche Exploiter
  • Administrator
  • Planewalker
  • *****
  • Posts: 7246
FIXED: Allegiance("Cor",ENEMY)
« on: February 21, 2003, 01:38:31 AM »
B5

Upon entering the Coronet _R0406, Anomen.bcs block 31 ran, and Anomen shouted "No! What are you doing?!"...

He went red-circled but didn't actually attack. He instead kept looping SHOUT06 block 0, trying to talk to the PC.

Potential glitches:

OR(2) became Or(2) in Anomen.bcs block 31

Allegiance() doesn't work?

I checked for _DEADcor, which is what Anomen.bcs block 31 is looking for, and I don't see it in NI.


                   
Cespenar says, "Kelsey and friends be at the Pocket Plane? Ohhh yesssss!" http://www.pocketplane.net

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
FIXED: Allegiance("Cor",ENEMY)
« Reply #1 on: February 21, 2003, 03:56:21 PM »
The OR thing is fine -- no actual text in a BCS. IWD2 also uses different spellings/caps for the triggers and actions.

_DEADfoo is IWD2-ease for SPRITE_IS_DEADfoo.

Allegiance("foo",ENEMY) always returns true if "foo" is not in the active area. Interesting. "Fixed" in v6.                    

Blucher

  • Guest
FIXED: Allegiance("Cor",ENEMY)
« Reply #2 on: February 21, 2003, 10:09:25 PM »
Perhaps you can change this to SpriteIsDeadCor?                    

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
FIXED: Allegiance("Cor",ENEMY)
« Reply #3 on: February 21, 2003, 10:17:31 PM »
I'm not sure what you are suggesting. The IWD2 *game engine* increments DEAD_foo instead of SPRITE_IS_DEADfoo when foo dies. I am already changing BG2 "SPRITE_IS_DEADfoo" to "DEAD_foo" so that they will work correctly here.
                   

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: