Author Topic: Change name of Paladin Mount?  (Read 416 times)

Legacy_Argentor

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Change name of Paladin Mount?
« on: September 21, 2010, 01:57:27 pm »


               Hi,
  Is there a way to set the name of the summoned Paladin Mount in script or otherwise?

thanks.
               
               

               
            

Legacy_GhostOfGod

  • Hero Member
  • *****
  • Posts: 1490
  • Karma: +0/-0
Change name of Paladin Mount?
« Reply #1 on: September 22, 2010, 12:00:58 am »


               Yes. Setting the horses name can be done via the function "SetName". And a good place to do that might be in the "OnPlayerChat" event. You would make up some kind of command(string) for that event to check for, followed by the name that you want to give your horse. That is the easy part.

However. Every time a player dismounts the horse, it will have it's default name back. Or every time the horse is unsummoned and resummoned it will have it's default name. This would require the player to constantly rename their horse.

In order to make the horse keep the name you want would require a bit of work. You would need to set the name as a variable to a database or a database item and alter a few default scripts to rename your horse every time a player dismounts or summons their horse. As the horse system is a bit complex what with the different vars, hooks and scripts and what not, I'm not entirely sure which place would be best to add the horse naming lines.

But please let us know if you want to go full out persistent horse naming(I or some one else can look into it) or if you would be happy with the constant renaming.
               
               

               


                     Modifié par GhostOfGod, 21 septembre 2010 - 11:01 .
                     
                  


            

Legacy_Argentor

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Change name of Paladin Mount?
« Reply #2 on: September 22, 2010, 03:17:19 pm »


               Hey! Thanks for the detailed tips. Glad to see NWN1 experts still out here.

Since I'm the only PC with a mount in my world I will just program the rename into the scripts using my login tag. Haha! Easy for now. The _real_ solution comes later I guess.



Arg