if this syntax:
msg (game.pov.alias + " is a " + game.pov.age_integer + " year old " + game.pov.age_string + game.pov.gender_string + game.pov.race_string + game.pov.species_string + game.pov.class_string + ".")
doesn't work right (ie: HK is a 18 year old adultmaleeuropeanhumanwarrior.), then this syntax DOES WORK (I know it does):
msg (game.pov.alias + " is a " + game.pov.age_integer + " year old " + game.pov.age_string + " " + game.pov.gender_string + " " + game.pov.race_string + " " + game.pov.species_string + " " + game.pov.class_string + ".")
the chunks:
game.pov.alias +
" is a "
+ game.pov.age_integer +
" year old "
+ game.pov.age_string +
" "
+ game.pov.gender_string +
" "
+ game.pov.race_string +
" "
+ game.pov.species_string +
" "
+ game.pov.class_string +
"."
----------------
P.S.
also, you may want to make (add) your own (a custom) "gender something" String Attribute for your "male~female", as the "gender" attribute is a built-in attribute which deals with the grammer of whether male or female (ie: he, she, or it), and not actually the gender type (male or female) itself.
my own developed coding structure for custom Attributes (for this example~case): "gender_string"
Object (Name): (whatever)
Attribute Name: gender_string
Attribute Type: string
Attribute Value: "male" or "female"
Scripting~Code Syntax: gender_string = "male"
~OR~
Scripting~Code Syntax: gender_string = "female"
Otherwise, you OVERRIDE the built-in "gender" Attribute's function of using the proper grammer (he, she, or it), should you need this in your text sentences.
http://quest5.net/wiki/Genderhttp://quest5.net/wiki/Article---------------
P.S.S.
"game.pov" refers to whoever is your CURRENTLY CONTROLLED Player Object, though if you only have one (and the default, still using its default name of "player"), then "game.pov" and "player", are the same thing.
let me try to explain this somewhat understandably (as I'm not good at clarity)... lol:
(default) Player Object 1: "player"
Player Object 2: "HK"
Player Object 3: "BF" // BF = blunderingfool
you can switch between these 3 Player Characters via in scripting (ie an Object's Verb):
ChangePov (name_of_Player_Object)
http://quest5.net/wiki/ChangePOVlet's say we want to increase the strength of "player":
this obviously works: player.strength = player.strength + 1
and if we're currently controlling "player", this works too: game.pov.strength = game.pov.strength + 1
HOWEVER, if we were currently controlling HK, then "game.pov.strength = game.pov.strength + 1" would incorrectly increase HK's strength, and NOT "player" 's strength.
So, if you got multiple Player Objects, then you got to be careful to use "game.pov" vs "name_of_Player_object" in the correct situations, to get the proper results that you want from it.