# How to code variables for orientation/preference correctly?

**URL:** <https://forum.choiceofgames.com/t/how-to-code-variables-for-orientation-preference-correctly/75293>\
**Category:** ChoiceScript Help\
**Created:** [March 10, 2020, 11:23pm UTC](https://forum.choiceofgames.com/t/how-to-code-variables-for-orientation-preference-correctly/75293 "2020-03-10T23:23:22Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![rose-court](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/rose-court/32/112987_2.png) [@rose-court](https://forum.choiceofgames.com/u/rose-court)\
**Post date:** [March 11, 2020, 1:34am UTC](https://forum.choiceofgames.com/t/how-to-code-variables-for-orientation-preference-correctly/75293/7 "2020-03-11T01:34:08Z")

</div>

> [@Christine\_Taylor](#):
>
> ```choicescript
> #A woman I was romantic with, but not sexually.
> *set sexual_orientation_preference "none"
> *set romantic_orientation_preference "women".
> *goto_scene scene3_chapter1
> 
> ```

Could it be the period after `"women"` that’s causing this issue? (Assuming it’s not a typo.)

Also, if you’re not already using it, I highly suggest [CSIDE](https://forum.choiceofgames.com/t/cside-the-choicescript-ide-v1-3-0-now-available-18-06-2019/27622) to write your game as it has an built-in testing method and will tell you the exact line in your document that’s causing the issue, hopefully pinpointing things further.

---

_[View the full topic](https://forum.choiceofgames.com/t/how-to-code-variables-for-orientation-preference-correctly/75293)._
