ServUO Version
Publish 57
Ultima Expansion
High Seas
I'm trying to figure out how to create an NPC that will be hireable without paying to him, and without limitation of hire term, but I'm not sure how to trigger the hire process if gold is not transferred to NPC as payment. Maybe somebody already managed to come up with similar thing?
 
You could simply add a ContextMenu and add it to your BaseHire
It seems like theres already one GetContextMenuEntries

Id just make sure you add a check so a player cannot have more than 1 at once or something, unless you want them to have an army
 
You could simply add a ContextMenu and add it to your BaseHire
It seems like theres already one GetContextMenuEntries

Id just make sure you add a check so a player cannot have more than 1 at once or something, unless you want them to have an army
Thanks! I'll check!

As I remember there was somewhere maximum number of followers in settings? Both npcs and tamed pets?
 
In Mobile.cs, line 10563:

C#:
m_FollowersMax = 5;

I think changing that will change the maximum number of followers, but I've never messed with it, personally.
 
Back