Question about spacing
Zephirius
Member Posts: 419
I have a line being spoken by an NPC, but it gets all smooshed together... here, I'll show you...
It gets crammed together between the words "think" and GetName() so it reads : "Lovely evening, don't you thinkAluvian Darkstar?" How do I fix this so it's presentable?
Thanks guys...
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
if (GetIsDay() || GetIsDawn())
{
AssignCommand(GetObjectByTag("JOHNSON"), ActionSpeakString
("Lovley day, don't you think" + GetName(oPC) + "?"));
}
else if (GetIsDusk() || GetIsNight())
{
AssignCommand(GetObjectByTag("JOHNSON"), ActionSpeakString
("Lovley evening, don't you think" + GetName(oPC) + "?"));
}
}
It gets crammed together between the words "think" and GetName() so it reads : "Lovely evening, don't you thinkAluvian Darkstar?" How do I fix this so it's presentable?
Thanks guys...
0
Comments
..., ActionSpeakString ("Lovley day, don't you think " + GetName(oPC) + "?")...void main() { object oPC = GetEnteringObject(); string sTimeOfDay = "evening" if (GetIsPC(oPC)); { if (GetIsDay() || GetIsDawn()) sTimeOfDay = "day"; AssignCommand(GetObjectByTag("JOHNSON"), ActionSpeakString("Lovley " + sTimeOfDay +", don't you think " + GetName(oPC) + "?")); } }TR