imaginary_friend
Vars | |
extended_message_range | Whether our host and other imaginary friends can hear us only when nearby or practically anywhere. |
---|---|
Procs | |
Initialize | Arguments: |
attach_to_owner | Links this imaginary friend to the provided mob |
group_clients | Returns all member clients of the imaginary_group |
setup_appearance | Copies appearance from passed player prefs, or randomises them if none are provided |
setup_friend | Randomise friend name and appearance |
setup_friend_from_prefs | Sets up the imaginary friend's name and look using a set of datum preferences. |
Var Details
extended_message_range
Whether our host and other imaginary friends can hear us only when nearby or practically anywhere.
Proc Details
Initialize
Arguments:
- imaginary_friend_owner - The living mob that owns the imaginary friend.
- appearance_from_prefs - If this is a valid set of prefs, the appearance of the imaginary friend is based on these prefs.
attach_to_owner
Links this imaginary friend to the provided mob
group_clients
Returns all member clients of the imaginary_group
setup_appearance
Copies appearance from passed player prefs, or randomises them if none are provided
setup_friend
Randomise friend name and appearance
setup_friend_from_prefs
Sets up the imaginary friend's name and look using a set of datum preferences.
Arguments:
- appearance_from_prefs - If this is a valid set of prefs, the appearance of the imaginary friend is based on the currently selected character in them. Otherwise, it's random.