View Single Post
  #7  
Old 03-31-2005, 04:26 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Quote:
Originally Posted by Velox Cruentus
\n basically tells the NPC that a newline is there, but I believe it simply replaces it with the appropiate character (To what I beleive). It is searching for the string "\n" and not the actual new line.

While we're at it -- I'm not too sure how to do #K(x) anymore.
with command doesn't seem to work, nor is npcscount/npcs[i]. I can't seem to call a command by npcs[i].function(); (The function was public, although isn't a weapon).

Hrm.. Other problems? I'll post back if I see any.
In theory. The string parser should be escaping \n to an actual newline before it ever gets to the function. In order to actually search for \n you'd want \\n.
Reply With Quote