Ascension64 Posted January 7, 2006 Share Posted January 7, 2006 If the Object parameter in Heard() is defined as a death variable/script name, the trigger will only return true if the corresponding object shouting also has an Enemy-Ally flag of NEUTRAL. Link to comment
Avenger Posted January 7, 2006 Share Posted January 7, 2006 Ack, this smells so fishy I wonder why this weird exception. And if it is truly here, i wonder if other triggers do the same. Link to comment
Ascension64 Posted January 7, 2006 Author Share Posted January 7, 2006 KingDiamond and I over at SHS figured out while working on a BGT-WeiDU bug that when "Raiken" did Enemy() Shout(1), then the bandits would only Enemy() if a Heard([ANYONE],1) trigger was in the script block, but Heard("Raiken",1) would never fire. I then tested with "Raiken", ChangeEnemyAlly(Myself,<absolutely every entry in EA.IDS>) Shout(1), and found that only ChangeEnemyAlly(Myself,NEUTRAL) would produce the desired result, where the bandits will trigger Heard("Raiken",1) properly. For the bugfix, I simply had to change the action of "Raiken" to Shout(1) Enemy(). Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.