SphereCommunity
Name of Creature Lower case - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Name of Creature Lower case (/Thread-Name-of-Creature-Lower-case)



Name of Creature Lower case - admin_teclis - 12-22-2013 08:56 AM

Hi all,
my sphere generate the name of all creature (npc man or animal or monster) in lower case...
You can change this thing? where you change?
Tnx!


RE: Name of Creature Lower case - Crusader - 12-23-2013 12:53 AM

inside the script of the monster
NAME=Ettin
instead of NAME=ettin

XD


RE: Name of Creature Lower case - tleilax - 02-18-2014 04:49 AM

Sorry for bringing this back, but is there any way to display names in lower case?

All my items and monsters are named like Uber Cool Sword of Doom - I'm using custom @itemclick trigger for players, any way to message the name lowercase as "uber cool sword of doom"?


RE: Name of Creature Lower case - Alaric - 02-18-2014 05:08 AM

STRTOLOWER


RE: Name of Creature Lower case - Coruja - 02-22-2014 09:09 AM

the best way is set the name using lowercase manually on script, doing this you wont need events

or you can use a ugly workaround using events like this
Code:
[EVENTS e_players]
ON=@ItemAfterClick
LOCAL.ClickMsgText = <STRTOLOWER <LOCAL.ClickMsgText>>

[EVENTS e_npcs]
ON=@AfterClick
LOCAL.ClickMsgText = <STRTOLOWER <LOCAL.ClickMsgText>>
and edit these lines on sphere.ini to add these 2 events on all players/npcs
Code:
// Events related to all NPCs
EventsPet=e_npcs

// Events related to all players
EventsPlayer=e_players