Speech to MobileID
Okay, one more question.
Has anyone got an example of converting a spoken name to a MobileID?
In reworking my falconry script, I would like to be able to have the player say "Send this to PlayerName". Capture that player name from the speech argument and the item chosen is put in the falcon's pack. The falcon is then teleported (after a Fly-off screen animation and short delay I've worked up) to the location of the Mobile named in the command. The reciving player then is freiended to the bird and given a message that a package has arrived for them etc.
Some obvious problems, converting string to a Mobile type, handling letter case etc. I've looked at several chat systems and mail systems but don't quite see what I need. I am trying to avoid creating a "Friend List" or limiting the number of people that the falcon can interact with. Since the sending and recieving players may be in different areas of the world, targeting is no good.
I'll be implementing a custom letter-writing system as well. I prefer this to current chat systems as dialogue between 2 people 1000 miles apart should not be instantaneous. I think it lends more to the realism of my shard.
I've considered reading in from the accounts list and converting it to Lowercase and building an array, but it presents an issue since new players would have to wait for a complete recompile before being accessible by the system.
Any ideas?
__________________
•¤•¤•Arkryal •¤•¤•
|