Question: Is there a call to get the PC's name?

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Question: Is there a call to get the PC's name?
Infiltrator
Member # 4637
Profile Homepage #0
Question: Is there a call to get the PC's name?

--------------------
Visit the Blades of Avernum Center
and the Beta Testing Center

--------------
"Beware lest anyone cheat you through philosophy and empty deceit, according to the tradition of men, according to the basic principles of the world, and not according to Christ." Colossians 2:6-9
Posts: 483 | Registered: Tuesday, June 29 2004 07:00
Warrior
Member # 4492
Profile #1
Dunno if this helps.

print_named_str(char, "string")

char is the number of the character but it will print out the name of the charcter

Example: print_named_str(0, "looks handsome.");

char 0 is Aldous so it prints out "Aldous looks handsome."
Posts: 61 | Registered: Wednesday, June 9 2004 07:00
Off With Their Heads
Member # 4045
Profile Homepage #2
You can do this with string manipulation, specifically append_char_name.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Infiltrator
Member # 4637
Profile Homepage #3
Thank you both. My question was answered. :)

Of course I won't ask about gender, as the only thing in the game that tells you're a female or a male character is the picture you've chosen.

So this can be tricky, if you're planning a scenario for a male main PC. :)

--------------------
Visit the Blades of Avernum Center
and the Beta Testing Center

--------------
"Beware lest anyone cheat you through philosophy and empty deceit, according to the tradition of men, according to the basic principles of the world, and not according to Christ." Colossians 2:6-9
Posts: 483 | Registered: Tuesday, June 29 2004 07:00
Apprentice
Member # 4701
Profile #4
Ah, but having a female PC would only make it kinkier. Think of it as an added bonus.
Posts: 4 | Registered: Monday, July 12 2004 07:00
BoE Posse
Member # 112
Profile #5
Just let the player know what kind of party you're expecting them to play with. They don't have to use it, but if they don't, all problems become their fault. :cool:

--------------------
Rate my scenarios!

Areni
Revenge
To Live in Fear
Deadly Goblins
Ugantan Nightmare
Isle of Boredom
Posts: 1423 | Registered: Sunday, October 7 2001 07:00
Apprentice
Member # 4173
Profile #6
nevermind

[ Wednesday, July 14, 2004 18:17: Message edited by: dram ]
Posts: 43 | Registered: Monday, March 29 2004 08:00
Infiltrator
Member # 4637
Profile Homepage #7
quote:
Originally written by The Creator:

Just let the player know what kind of party you're expecting them to play with. They don't have to use it, but if they don't, all problems become their fault. :cool:
That would be a solution. :)

--------------------
Visit the Blades of Avernum Center
and the Beta Testing Center

--------------
"Beware lest anyone cheat you through philosophy and empty deceit, according to the tradition of men, according to the basic principles of the world, and not according to Christ." Colossians 2:6-9
Posts: 483 | Registered: Tuesday, June 29 2004 07:00
Shock Trooper
Member # 4154
Profile #8
Wait a minute... string manipulation is released and working? When did this happen?? I thought that'd be in a later update!

--------------------
You're a moron if you think I'm not.
Posts: 213 | Registered: Friday, March 26 2004 08:00
Off With Their Heads
Member # 4045
Profile Homepage #9
As of Scenario Format Version 2, namely Mac v1.1 or Win v1.0, we have string manipulation. The latest version of the docs includes the added calls and puts a handy little italicized note that they won't work in older versions of BoA.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Shock Trooper
Member # 4154
Profile #10
Awesome.

Thanks.

[ Thursday, July 15, 2004 11:38: Message edited by: Eldiran ]

--------------------
You're a moron if you think I'm not.
Posts: 213 | Registered: Friday, March 26 2004 08:00