Hello,
I'm looking to get some feedback or direction on how a system like this could be created and implemented. Here are the details of how I imagine the system working.
For clarity this explanation contains 2 players. The first named himself Joseph, the second named herself Leah.
1. Each player has their own Dictionary <Mobile, string> of whatever other players they have labeled. (working via xml attachment)
2. Command to set a player name. Simply use "[NameThem Joe" and target a player, and it will remember their Mobile and the string Joe as their name. (works fine)
3. Using Single click, "Allnames", and the Ctrl-Shift "Object Handle" on that player before using the "NameThem" command should show their name as "Survivor".
4. Using Single click, "Allnames", and the Ctrl-Shift "Object Handle" on that player After using the "NameThem" command should show their stored name from the Xml attachments' dictionary.
So lets say Leah and Joseph have met, and Joseph tells Leah his name is Joe, Leah can then use the command "[NameThem Joe" to set Josephs name to "Joe". After that when she uses Single click, "Allnames", or the Ctrl-Shift "Object Handle", they should all show his name as Joe to her only, but to everyone else he should still be seen as "Survivor".
The issue I'm having is getting the stored names to show up properly according to saved entries in the xml attachment dictionary. If I want the stored name to show up by Using Single click, "Allnames", and the Ctrl-Shift "Object Handle" I think I would have to go about it in a few ways.
For Single click I'd have to change the Mobile.Name or Mobile.NameMod but then this custom name would show up to all the other players around.
Allnames and the Ctrl-Shift "Object Handle" also seem to get their data from the Mobiles name data. So this would not be a solution.
The other option I tried is just leaving the Mobiles name as a simple default of "Survivor" and when you single click them adding a PrivateOverheadMessage of the xml stored name, but I couldn't get it to work properly.
Thank you all in advance for any help or thoughts on this.
I'm looking to get some feedback or direction on how a system like this could be created and implemented. Here are the details of how I imagine the system working.
For clarity this explanation contains 2 players. The first named himself Joseph, the second named herself Leah.
1. Each player has their own Dictionary <Mobile, string> of whatever other players they have labeled. (working via xml attachment)
2. Command to set a player name. Simply use "[NameThem Joe" and target a player, and it will remember their Mobile and the string Joe as their name. (works fine)
3. Using Single click, "Allnames", and the Ctrl-Shift "Object Handle" on that player before using the "NameThem" command should show their name as "Survivor".
4. Using Single click, "Allnames", and the Ctrl-Shift "Object Handle" on that player After using the "NameThem" command should show their stored name from the Xml attachments' dictionary.
So lets say Leah and Joseph have met, and Joseph tells Leah his name is Joe, Leah can then use the command "[NameThem Joe" to set Josephs name to "Joe". After that when she uses Single click, "Allnames", or the Ctrl-Shift "Object Handle", they should all show his name as Joe to her only, but to everyone else he should still be seen as "Survivor".
The issue I'm having is getting the stored names to show up properly according to saved entries in the xml attachment dictionary. If I want the stored name to show up by Using Single click, "Allnames", and the Ctrl-Shift "Object Handle" I think I would have to go about it in a few ways.
For Single click I'd have to change the Mobile.Name or Mobile.NameMod but then this custom name would show up to all the other players around.
Allnames and the Ctrl-Shift "Object Handle" also seem to get their data from the Mobiles name data. So this would not be a solution.
The other option I tried is just leaving the Mobiles name as a simple default of "Survivor" and when you single click them adding a PrivateOverheadMessage of the xml stored name, but I couldn't get it to work properly.
Thank you all in advance for any help or thoughts on this.