DC updates a global attribute after each combat. The attribute is called 'Combat Result' and can be one of the following:
LoseButNeverDies
Lose
Win
Flee
After the combat event you can use LogicBlock to query 'Combat Result' for one of those values. The LogicBlock settings would be something like:
Input B: Global Attribute
(Box under B): Combat Result
Gate C: String Equal
Input A: Literal
(Box under A): Win (or Lose, etc)
Check 'Conditional Chain', check 'Chain if result true'
Then add your events to the True chain under the LogicBlock event. The String Equal operator does not ignore case for string compares, so 'Win' works but 'win' will not.
__________________
CocoaSpud<br />Dungeon Craft Development Team<br /> [url]\"http://uaf.sourceforge.net\" target=\"_blank\">http://uaf.sourceforge.net</a>
|