You are viewing a potentially older version of this package.
View all versions.
Date uploaded | 2 weeks ago |
Version | 1.0.4 |
Download link | LoafWF-TitleAPI-1.0.4.zip |
Downloads | 4035 |
Dependency string | LoafWF-TitleAPI-1.0.4 |
This mod requires the following mods to function
README
Title API | IamKikin & Nowaha
In the WebFishing update 1.09, the developer & contributors got "Titles".
A Title is a text above your head that says "[LAMEDEV]" "[CONTRIBUTOR]" with fun little colors.
Developer Usage
To use TitleAPI within your mods, install the Godot Version from our Github & then just autoload it as TitleAPI.
onready var title_api = get_node_or_null("/root/TitleAPI")
func _ready:
if title_api != null:
title_api.register_title(STEAM_ID, TITLE) # Register your own Title
Example
onready var title_api = get_node_or_null("/root/TitleAPI")
func _ready():
if title_api != null:
title_api.register_title(76561198123766302, "[color=#913BED][LOAF][/color]")
onready var title_api = get_node_or_null("/root/TitleAPI")
func _ready():
if title_api != null:
title_api.register_title(76561199157842765, "[color=#D57EEC][KIKIN][/color]")
Functions
register_title(STEAM_ID,TITLE) # Registers a Title
resolve_name(STEAM_ID,NAME)
deregister_title(STEAM_ID) # DeRegisters a Title
get_title(STEAM_ID) - Returns a Players Title
Signals
signal titles_updated # Emits when a title is updated.
Report any bugs to IamKikin on WEBFISHING Modding Community Discord Mady by IamKikin & Nowaha