# Having issues keeping certain things from appearing

**URL:** <https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391>\
**Category:** ChoiceScript Help\
**Created:** [April 25, 2022, 7:03pm UTC](https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391 "2022-04-25T19:03:07Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kitty\_Gaige](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/kitty_gaige/32/243676_2.png) [@Kitty\_Gaige](https://forum.choiceofgames.com/u/Kitty_Gaige)\
**Post date:** [April 25, 2022, 7:03pm UTC](https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391/1 "2022-04-25T19:03:07Z")

</div>

Fiiiixed it, all good. Thanks for the help ❤ ❤ ❤

---

<div class="post-metadata">

**Author:** ![HWKEye](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/hwkeye/32/31852_2.png) [@HWKEye](https://forum.choiceofgames.com/u/HWKEye)\
**Post date:** [April 25, 2022, 7:20pm UTC](https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391/2 "2022-04-25T19:20:59Z")

</div>

Sounds like an Indentation issue

```nohighlight
*if Charming < 60
  “Ladies, that’s is quite enough. Kaira you have duties to attend to I believe?”

  She nods at you, snaps a salute “Yes ${designation}” and walks away. Annie continues to stare at you with a small smile.

  “You are such a charmer dear. I wish you would use it on me more often” With that she turns, sits back down and picks up her book. After a moment she looks at you. “I’m done with you for now love, you may leave.”

  Shaking your head you turn and head back out of the prison block to meet Dennis. 8046 did not even bother to explain why she wanted to see you. With a frustrated sigh you enter the lift and head down to the labs.
  *page_break The Labs
  *goto birch_01

*else
  “Enough!” Pinching the bridge of your nose you keep your eyes shut and breath deeply for a moment. “Alright, Kaira, you have other duties and I need to go see Dennis. You, 8046, just…read. No more games”

```

The dialogues need to be indented further for the \*if to take effect.

Try this.

---

<div class="post-metadata">

**Author:** ![Kitty\_Gaige](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/kitty_gaige/32/243676_2.png) [@Kitty\_Gaige](https://forum.choiceofgames.com/u/Kitty_Gaige)\
**Post date:** [April 25, 2022, 7:25pm UTC](https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391/3 "2022-04-25T19:25:44Z")

</div>

Nope, that did nothing, still being a bag! _wacks computer_ Wont behave

---

<div class="post-metadata">

**Author:** ![Eric\_Moser](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/eric_moser/32/259257_2.png) [@Eric\_Moser](https://forum.choiceofgames.com/u/Eric_Moser)\
**Post date:** [April 25, 2022, 7:29pm UTC](https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391/4 "2022-04-25T19:29:27Z")

</div>

I’d code it

\*if (charming \< 60)  
indent, then text  
\*else  
intent, then text

I’ve never done it without the parenthesis.

---

<div class="post-metadata">

**Author:** ![ParrotWatcher](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/parrotwatcher/32/49963_2.png) [@ParrotWatcher](https://forum.choiceofgames.com/u/ParrotWatcher)\
**Post date:** [April 25, 2022, 7:36pm UTC](https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391/5 "2022-04-25T19:36:54Z")

</div>

I don’t think you should need parentheses… 🤔

@Kitty_Gaige, could you show us the code where the value of `charming` is set, and maybe put a `${charming}` just above the `*if` just to check it hasn’t changed?

---

<div class="post-metadata">

**Author:** ![Kshatriya](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/kshatriya/32/168996_2.png) [@Kshatriya](https://forum.choiceofgames.com/u/Kshatriya)\
**Post date:** [April 25, 2022, 8:13pm UTC](https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391/6 "2022-04-25T20:13:57Z")

</div>

I think it should be Charming \> 60, not \< 60?

---

<div class="post-metadata">

**Author:** ![Kitty\_Gaige](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/kitty_gaige/32/243676_2.png) [@Kitty\_Gaige](https://forum.choiceofgames.com/u/Kitty_Gaige)\
**Post date:** [April 25, 2022, 8:27pm UTC](https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391/7 "2022-04-25T20:27:45Z")

</div>

@ParrotWatcher Here is how I have my stats set up. Could it be that they are percentages in the stats screen??

\*comment Stats  
\*create Charming 50  
\*create Stern 50  
\*create Tactical 50  
\*create Direct 50  
\*create Strength 50  
\*create Agility 50  
\*create Accuracy 50  
\*create Intellect 50

@Kshatriya lol, yes it is, thnks for pointing that out still didnt help

---

<div class="post-metadata">

**Author:** ![Nocturnal\_Stillness](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/nocturnal_stillness/32/100414_2.png) [@Nocturnal\_Stillness](https://forum.choiceofgames.com/u/Nocturnal_Stillness)\
**Post date:** [April 25, 2022, 8:48pm UTC](https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391/9 "2022-04-25T20:48:57Z")

</div>

> [@Kitty\_Gaige](#):
>
> So what happens is no matter if the characters charisma is higher or not only the first \*if is being played and even if the character does not meet the requirements for the “ladies” section it is playing and the “enough” is being ignored. How do I fix this?

In that code I can’t see a \*goto for the \*else bit of the code. Is there one there?

EDIT: when increasing the stats do you use + or %+?

Because if it’s just + then a +10 would increase charming from 50 to 60 but if you use %+ then %+10 would only increase it by 10% which increases it from 50 to 55.

---

<div class="post-metadata">

**Author:** ![Kitty\_Gaige](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/kitty_gaige/32/243676_2.png) [@Kitty\_Gaige](https://forum.choiceofgames.com/u/Kitty_Gaige)\
**Post date:** [April 25, 2022, 9:24pm UTC](https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391/11 "2022-04-25T21:24:10Z")

</div>

WAIT! Yes I did

---

<div class="post-metadata">

**Author:** ![will](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/will/32/132033_2.png) [@will](https://forum.choiceofgames.com/u/will)\
**Post date:** [April 26, 2022, 3:33am UTC](https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391/12 "2022-04-26T03:33:13Z")

</div>

Has anyone else pointed out that this scene only appears if your “charm” is LESS THAN sixty? The alligator eats the bigger number!

> [@Kshatriya](#):
>
> I think it should be Charming \> 60, not \< 60?

Yep, Kshatriya pointed this out too! Have you made sure that it’s not a logic problem instead of a coding problem?

---

<div class="post-metadata">

**Author:** ![Kshatriya](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/kshatriya/32/168996_2.png) [@Kshatriya](https://forum.choiceofgames.com/u/Kshatriya)\
**Post date:** [April 26, 2022, 7:18am UTC](https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391/13 "2022-04-26T07:18:35Z")

</div>

> [@will](#):
>
> The alligator eats the bigger number!

Another good way to remember it: the arrow always points at the lesser number. The tip is the smaller part after all.  
It’s easy to mix \> and \< up haha.

---

<div class="post-metadata">

**Author:** ![Kitty\_Gaige](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/kitty_gaige/32/243676_2.png) [@Kitty\_Gaige](https://forum.choiceofgames.com/u/Kitty_Gaige)\
**Post date:** [April 26, 2022, 12:17pm UTC](https://forum.choiceofgames.com/t/having-issues-keeping-certain-things-from-appearing/117391/14 "2022-04-26T12:17:34Z")

</div>

Ya, these always mess me up. But I found the issue and it’s been resolved. Well an issue besides the \>\< problem lol
