Object Alias Question

Anonynn
24 Jan 2018, 04:23Hello :3 So I know about making an alias for the player object, but I was wondering it assigning an object alias outside of the player was possible too. For example...
objectnamehere.alias = result
Thanks for the help in advance :D
Anonynn.

K.V.
24 Jan 2018, 05:48If an object exists, you can totally assign its "alias" attribute.
hegemonkhan
24 Jan 2018, 06:50the 'alias' is just a built-in String Attribute, but with a lot more functionality to it (internal coding uses 'alias' for a lot of various things, such as if it can't find an Object with the same name, as the input-value, it'll search for an Object with the same 'alias', as the input-value).
you can always create your own String Attributes (but they won't have all of the additional functionality that the 'alias' does, unless you edit the internal coding of course to recognize/use your custom String Attributes, lol):
player.first_name = "john"
player.last_name = "doe"
player.sex = "male"
player.sex_and_age_article = "man"
player.race_article = "person"
player.race = "human"
player.alias = "suspect" // this is the built-in 'alias' String Attribute with lots of (additional) functionality
player.my_alias = "murderer" // this is a custom (yours/mine, lol) String Attribute
msg ("The {player.race} {player.sex} {player.alias}, I mean, the {player.race_article} of interest, {player.first_name} { player.last_name}, is a {player.sex_and_age_article}, he's a {player.my_alias} and armed and dangerous, please call the police if you see someone fitting his description")

Anonynn
24 Jan 2018, 19:06Thanks guys :D