Stat_chart help


#1

All I’m trying to do is get my name, age, and race in the stat_chart but doesn’t show right unless I have them before the tag. The reason I’m trying to do this is so they can show up singlespaced and not like each is a new paragraph or side by side.

Any suggestions? I’d rather not have to rename the name, age, and race tags.


#2

Edit: Never mind, @Wraith is correct!


#3

You can do it like this:

*stat_chart
    text Name [b]Name[/b]
*if {heroname != "Unknown"}
    *stat_chart
        text heroname [b]Alias[/b]
*stat_chart
    text Gender [b]Gender[/b]
    text Origin1 [b]Origin[/b]
*if {ability != ""}
    *stat_chart
        text Ability [b]Ability[/b]

*if {{{Hero = true} or {Antihero = true}} or {Villain = true}}
    *stat_chart
        text money [b]Earnings[/b]


*if {{{origin = "Street"} or {origin = "Rich"}} or {origin = "Normal"}}

    *stat_chart
        opposed_pair Stealth
            Subtle
            Direct
        opposed_pair Intelligence
            Calculated
            Impulsive
        opposed_pair Social
            Persuasive
            Intimidating

*gosub Stress_Bar
*if {ability != ""}
    *stat_chart
        opposed_pair StressBar
            Stressed
            Relaxed
        percent Destructive
        opposed_pair ruthless
            Ruthless
            Mercy
        text danger [b]Danger-level[/b]

*if knows_Crow = true
    [b]Relationships[/b]

text heroname [b]Alias[/b]
Simply put the word how you want to name it after the variable.
In this case, the word ‘Alias’ will be written bolt in the Stat Screen and will be shown instead of ‘Heroname’, as the variable is named.


#4

@wrath Thanks! Choosing some of the code given I was able to have it fixed.