08-01-2007, 01:25 PM
That's what I though, so I tried to mod the playername sub, and I couldn't get it. Oh well, I'll just try it again later.
I got an error with the line that set the npc's name, it works using a with statement, but not if I just use it flat out.'
It's like, Npc(MapNpc(Index).Num).Name but that line gives an error, but if I use:
With Npc(MapNpc(Index).Num)
And then use Trim(.Name) in the code, it works. I don't know why though.
I got an error with the line that set the npc's name, it works using a with statement, but not if I just use it flat out.'
It's like, Npc(MapNpc(Index).Num).Name but that line gives an error, but if I use:
With Npc(MapNpc(Index).Num)
And then use Trim(.Name) in the code, it works. I don't know why though.