Hello,
if I use mobile.SetMurderer(1) or mobile.SetCriminal(1) on a NPC, nothing happens. (npc.SetMurderer(1) returns 1, but the name remains blue). We could handle this with a hook, but its not ideal, since the hook would have to examine every DrawObject packet going out to every client.
As it is now, the entry
Alignment {good | neutral | evil}
can be specified in npcdesc.cfg and since 096 good aligned NPCs will be flagged criminal (grey) if they attack a good (blue) mobile.
But I would like to use mobile.SetMurderer() and mobile.SetCriminal() on NPCs. So for example a animal could be neutral (usual state) and later for some reason go to 'murderer', change to a red name as a warning and attack players.
Is this possible? It should have no impact on the rep system, if the user takes the color/alignment change into account. (A good mobile going bad (red) can be attacked by good players, without them going criminal, etc.).
Or did I overlook something? Besides the entry in npcdesc.cfg I found no way to change the name color on a mobile (after creating it) other than a player character.
OWHorus
Please make NPC notoriety changeable dynamically
Archive of the older Feature Request Forum Posts
Return to “Feature Request Archive”
Jump to
- Contrivance
- ↳ POL Server Website
- ↳ General Discussion
- ↳ Rants
- Novice & Help Area
- ↳ Hello world
- ↳ General Help
- ↳ Scripting Help
- ↳ Guides
- ↳ First steps
- Official POL Distribution (Distro)
- ↳ Development Discussion
- ↳ Distro Bug Reports
- ↳ Test shard
- ↳ Contribute to the distro
- ↳ Contributed Optional Packages and Scripts for the Distro
- Core Discussions
- ↳ Current development (100)
- ↳ Current stable release (099)
- ↳ Bug Reports & Feature Requests
- ↳ Solved issues
- ↳ Old requests
- ↳ Contribute to the core
- 3rd Party Scripts
- ↳ Contributed Scripts & Packages
- ↳ Complete Worlds
- 3rd Party Software
- ↳ POL Tools
- ↳ UO Tools
- ↳ Packet World
- ↳ Hosted Projects
- ↳ UOFiddler
- General Shard Development
- ↳ Miscellaneous Development Discussion
- Archive
- ↳ Older Core Versions
- ↳ POL Core 095
- ↳ General Help (095)
- ↳ POL Core 096
- ↳ General Help (096)
- ↳ POL Core 097
- ↳ Feature Request Archive
- ↳ General Help (097)
- ↳ Bug Reports (097)
- ↳ Solved Bugs (097)
- ↳ POL Core 098
- ↳ General Help (098)
- ↳ Bug Reports Archive (098)
- ↳ Old distros
- ↳ POL Core Patch Submissions
- ↳ Distro Patch Submissions