The developer guide for SB mentions using the SlugBaseCharacter.WorldCharacter member for copying baseline slugcat worlds, but attempting to assign to this member mentions that it is obselete, and that SlugBaseCharacter.InheritWorldFromSlugcat should be used instead. However, this other variable is read-only, and cannot be assigned to via a subclass, so I'm wondering what the intended method is for inheriting a world from a base-game slugcat
#How do you inherit Hunter's world for a custom slugcat using SlugBase?
1 messages · Page 1 of 1 (latest)
The constructor for SlugBaseCharacter takes a parameter called useSpawns . You need to pass the value (0..2) there. InheritWorldFromSlugcat is a property (with no setter) - its getter returns the value of useSpawns
For Hunter's spawns you want to pass 2
This works, thanks!