2266
Resolved Questions / 1009 error with lists
« on: April 14, 2011, 01:04:14 pm »
I'm getting a null reference error.
The Dash Melee Attack behavior, when the level requirement is met, uses a custom block that sets a tetx attribute and tell a message to the Use Skill behavior. The Use Skill behavior will draw a notification on screen if that's a new skill, and then add it to another list (irrelevant for this matter, I believe).
The issue is that it's throwing the null reference error on that if <not [Knwon Lists contains Learned Skill]>. It's not drawing the notification at all.
If anyone can give me a hint on what I'm doing wrong, I'll be forever grateful.
The Dash Melee Attack behavior, when the level requirement is met, uses a custom block that sets a tetx attribute and tell a message to the Use Skill behavior. The Use Skill behavior will draw a notification on screen if that's a new skill, and then add it to another list (irrelevant for this matter, I believe).
The issue is that it's throwing the null reference error on that if <not [Knwon Lists contains Learned Skill]>. It's not drawing the notification at all.
If anyone can give me a hint on what I'm doing wrong, I'll be forever grateful.