Object Alias Question

Hello :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.

If an object exists, you can totally assign its "alias" attribute.


the '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")


Thanks guys :D


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums