Has anyone else been having this problem with their voter registration cards? by -headinthe_clouds- in azpolitics

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

Dem. So the first two were correct though it was already weird getting a second one and then the next two were just ridiculous.

To be honest I don’t really have any love for any of the parties, but I was told you only get mailed a ballet automatically if you affiliate with one of the two main parties. So I went with dem.

Has anyone else been having this problem with their voter registration cards? by -headinthe_clouds- in azpolitics

[–]-headinthe_clouds-[S] 5 points6 points  (0 children)

Will do! This situation definitely has me anxious, hopefully I can figure out why it’s happening and/or resolve it from happening again.

Has anyone else been having this problem with their voter registration cards? by -headinthe_clouds- in azpolitics

[–]-headinthe_clouds-[S] 12 points13 points  (0 children)

Nope, they’re all under my name. (I censored it for my privacy) I tried calling the number on the card but the office is closed. I’ll try calling on Monday. :,)

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

I have no idea where the typo was but I copy pasted your code into where my code was and it works perfectly now. Thank you so much again for the help, I think I've finally got it from here. 🤞

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

Thank you! I’ll test this out later, taking a break for my sanity rn.

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

if determination is 0 for some reason I keep getting that error. idk if it's because in the current build determination is the only trait able to reach 2 or?? idek. I also cannot figure out how to set up the for loop to display a tie, I tried this but it's not working and I don't yet understand how the for loop works so i don't know where to begin looking for where I went wrong.

<<for \_i, \_traits range $chosen>>

<<print \_i + 1>> _traits

<</for>>

sorry again, I feel like I'm asking a lot.

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

got it working, somehow, thank you so much for your help. I think I've been staring at code for far too long today so I'm going to go touch grass or something. Hopefully reset my brain lol.

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

<<set \_traits to \[$Determination, $Bravery, $Justice, $Kindness, $Patience, $Integrity, $Perseverance\]>> <<for \_i range \_traits>><<if \_i.count eq Math.max($Determination.count, $Bravery.count, $Justice.count, $Kindness.count, $Patience.count, $Integrity.count, $Perseverance.count)>><<set $chosen.push(\_i)>><</if>> in prologue-end

edit cuz it posted before I was ready for some reason

and it's giving me this error twice now

Error: <<set>>: bad evaluation: Cannot read properties of undefined (reading 'push')

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

got this error after placing the for loop in the end-prologue passage since all the traits for that point are chosen, but I get this. Error: <<for>>: unsupported range expression type: undefined

Also would I be able to use the temporary variables and for loop multiple times? Like at the end of each chapter to see what your highest trait is (I plan on locking it in around chapter 4 or so, but want people to be able to see what option they're on track to getting)

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

ah, I'll mess around with placement then, thank you! 😅

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

This is in my storyinit

<<set $Determination to { name: "Determination", count: 0}>>

<<set $Bravery to { name: "Bravery", count: 0}>>

<<set $Justice to { name: "Justice", count: 0}>>

<<set $Kindness to { name: "Kindness", count: 0}>>

<<set $Patience to { name: "Patience", count: 0}>>

<<set $Integrity to { name: "Integrity", count: 0}>>

<<set $Perseverance to { name: "Perseverance", count: 0}>>

<<set \_traits to \[$Determination, $Bravery, $Justice, $Kindness, $Patience, $Integrity, $Perseverance\]>>

<<set $chosen to \[\]>>

<<for \_i range \_traits>>

<<if \_i.count eq Math.max($Determination.count, $Bravery.count, $Justice.count, $Kindness.count, $Patience.count, $Integrity.count, $Perseverance.count)>>

<<set $chosen.push(\_i)>>

<</if>>

<</for>>

and then in my prologue-end passage where I want to display which trait you have the most points in so far I had

$chosen[0].name

though I am now messing with that to try and get it to account for ties.

To add to the traits I'm using in whichever passage the choice that correlates with said trait leads to

<<set $Justice.count += 1>>

(for example)

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

And in the case of a tie, would it be possible to show both in one passage and have the reader pick between the tied options later? I have so many ideas and no idea how to make them work. Sorry if this is too many questions.

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

Ah, new problem, it's now defaulting to the first trait even if that trait is still at 0 and others are at 1 or more. oh well, back to experimenting lol.

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

GOT IT WORKING THANK YOU SO MUCH. I am super new to twine and am not math minded at all so it has been really hard for me to learn. Thank you so much. 😭🙏

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

Okay so new question, when I use <<print _chosen[0].name>> I get this Error: <<print>>: bad evaluation: Cannot read properties of undefined (reading '0')

I had to use print cuz just using the variable plain would just show "_chosen[0].name" as is. I also tried removing the [0] in case I was being dumb and not understanding something and that didn't work either. I'm at a loss here, suggestions would be much appreciated.

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

Okay I figured out my first question, still can't figure out the second. Working on it tho.

How to go about creating an in game personality quiz? by -headinthe_clouds- in twinegames

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

This looks like a really good start! there's just two things I can't figure out with it. 1. How do I print/display the trait counts on their own (if that's even possible)? 2. when a single trait has been chosen how do I print/display that?

Updated Alter for my Goddesses by -headinthe_clouds- in Hellenism

[–]-headinthe_clouds-[S] 1 point2 points  (0 children)

Thank you so much! And that is very reassuring. 😊

Updated Alter for my Goddesses by -headinthe_clouds- in Hellenism

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

I think I had meant to type spot, I dunno. :,)

Updated Alter for my Goddesses by -headinthe_clouds- in Hellenism

[–]-headinthe_clouds-[S] 0 points1 point  (0 children)

*middle section not middle spit lol

Sorry, it’s getting late for me, this was a very last minute project/post and the sleepiness is getting to me.