# Statchart problem

**URL:** <https://forum.choiceofgames.com/t/statchart-problem/7480>\
**Category:** ChoiceScript Help\
**Created:** [February 12, 2015, 4:27am UTC](https://forum.choiceofgames.com/t/statchart-problem/7480 "2015-02-12T04:27:52Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![FairyGodfeather](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fairygodfeather/32/16709_2.png) [@FairyGodfeather](https://forum.choiceofgames.com/u/FairyGodfeather)\
**Post date:** [February 12, 2015, 6:03am UTC](https://forum.choiceofgames.com/t/statchart-problem/7480/21 "2015-02-12T06:03:45Z")

</div>

I plugged the code into CJW’s IDE and ran it from there and everything works fine.

That death scene is the problem. You have

\*set race “human”=true  
\*set race “vampire”=true  
\*set race “hekan”=true  
\*set class “dead”=true

That’s where it’s getting the hekan=true from. If you remove those set races you should be fine.

---

<div class="post-metadata">

**Author:** ![Returner](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/returner/32/198887_2.png) [@Returner](https://forum.choiceofgames.com/u/Returner)\
**Post date:** [February 12, 2015, 6:05am UTC](https://forum.choiceofgames.com/t/statchart-problem/7480/22 "2015-02-12T06:05:40Z")

</div>

So should I remove the whole \*set command or just the =true part?

---

<div class="post-metadata">

**Author:** ![FairyGodfeather](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fairygodfeather/32/16709_2.png) [@FairyGodfeather](https://forum.choiceofgames.com/u/FairyGodfeather)\
**Post date:** [February 12, 2015, 6:08am UTC](https://forum.choiceofgames.com/t/statchart-problem/7480/23 "2015-02-12T06:08:00Z")

</div>

Yeah remove them all, there’s no reason for it, is there?

If you have all three in a row it’s a little pointless anyway

---

<div class="post-metadata">

**Author:** ![Returner](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/returner/32/198887_2.png) [@Returner](https://forum.choiceofgames.com/u/Returner)\
**Post date:** [February 12, 2015, 6:08am UTC](https://forum.choiceofgames.com/t/statchart-problem/7480/24 "2015-02-12T06:08:53Z")

</div>

Thank you so much! I didn’t even realize/remembered that I had that command in that file! Like you said, it was something primitive as this that I totally overlooked. Again, thanks a bunch!

---

<div class="post-metadata">

**Author:** ![FairyGodfeather](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fairygodfeather/32/16709_2.png) [@FairyGodfeather](https://forum.choiceofgames.com/u/FairyGodfeather)\
**Post date:** [February 12, 2015, 6:10am UTC](https://forum.choiceofgames.com/t/statchart-problem/7480/25 "2015-02-12T06:10:31Z")

</div>

It’s easily done. At least it’s all sorted now.

[Previous page](https://forum.choiceofgames.com/t/statchart-problem/7480.md?page=1)
