I have created a blueprint and stored it in the game blueprint library. It had, by default, two combinator icons.
I replaced those icons with some other combinators. It now looks like this:
But when I look at the blueprint in the debugger, it still shows the old icons (that I have overwritten):
Not sure what to do here. Is there another way to get at the blueprint icon?
[2.0.32] LuaRecord#default_icons is stale for game.blueprints
Re: [2.0.32] LuaRecord#default_icons is stale for game.blueprints
Thanks for the report however this is correct. "default_icons" reads the default icons, not the custom ones.
If you want to get ahold of me I'm almost always on Discord.
Re: [2.0.32] LuaRecord#default_icons is stale for game.blueprints
Ok, in that case please indulge my stupid question but how do you get / set the custom ones? I can't seem to figure that out?
Re: [2.0.32] LuaRecord#default_icons is stale for game.blueprints
There is no current way to do that for blueprint records. I forwarded this onto the person who implemented LuaRecord to look into.
If you want to get ahold of me I'm almost always on Discord.
Re: [2.0.32] LuaRecord#default_icons is stale for game.blueprints
Thank you for the quick answer.
Re: [2.0.32] LuaRecord#default_icons is stale for game.blueprints
I guess this is now "fixed in 2.0.34" ?
Scripting:
- Added LuaRecord::preview_icons read/write.