hi im setting some custom npc spawns and would love to be able to see their prefab names.
For instance instead of seeing scientist [hp] [distance]
an option inside .json file to swap it for: scientistnpc_junkpile_pistol
thanks!
hi im setting some custom npc spawns and would love to be able to see their prefab names.
For instance instead of seeing scientist [hp] [distance]
an option inside .json file to swap it for: scientistnpc_junkpile_pistol
thanks!
hi, you can change
var displayName = !string.IsNullOrEmpty(target.displayName) && target.displayName != target.UserIDString ? target.displayName : target.ShortPrefabName == "scarecrow" ? instance.m("scarecrow", userid) : target.PrefabName.Contains("scientist") ? instance.m("scientist", userid) : instance.m(target.ShortPrefabName, userid);tovar displayName = target.ShortPrefabName;I will add an option for it next update nivexhi, you can change
tovar displayName = !string.IsNullOrEmpty(target.displayName) && target.displayName != target.UserIDString ? target.displayName : target.ShortPrefabName == "scarecrow" ? instance.m("scarecrow", userid) : target.PrefabName.Contains("scientist") ? instance.m("scientist", userid) : instance.m(target.ShortPrefabName, userid);I will add an option for it next updatevar displayName = target.ShortPrefabName;
😍💯