Page 1 of 1

passing overwrites to npc

Posted: Mon Mar 19, 2007 1:27 pm
by mr bubbles
Passinig the title_suffix, and title_prefix to the overwrite option in createnpcfromtemplate doesn't work.

Posted: Wed Mar 28, 2007 9:03 pm
by MuadDib
WHat is the name with which you are sending these?

title_prefix or titleprefix, etc. Try both and let me know.

Posted: Wed Mar 28, 2007 11:05 pm
by mr bubbles
I was using' title_prefix'.

Just tried 'titleprefix' and it works perfectly, thanks.

Posted: Fri Mar 30, 2007 12:21 pm
by MuadDib
I added this to the notes in corechanges file for next core release. Posting here for FYI also:

Code: Select all

3-30 MuadDib
        Notes : Due to questions involving this, here is a partial list of things passable
                through the override of CreateNPCFromTemplate that use different names:
                Common Properties:
                    TRUEOBJTYPE
                    TRUECOLOR
                    TITLEPREFIX
                    TITLESUFFIX
                    TITLEGUILD
                    TITLERACE
                These should work also from the override you usually use. Noting these
                due to being named differently than what you usually use and see.