Jump to content

Recommended Posts

So I am trying to make a minimap icon for my new bush type.

local function fn()	local inst = CreateEntity()	local trans = inst.entity:AddTransform()	local anim = inst.entity:AddAnimState()	local minimap = inst.entity:AddMiniMapEntity()	inst:AddTag("bush")	minimap:SetIcon("berrybush.png")

This makes it have the same icon as a berry bush but if i try and change that to a path or to anything else it just doesn't show up. No errors.

Where should I put the image, what should I code to get it to show up?

Thanks

Link to comment
https://forums.kleientertainment.com/forums/topic/43726-minimap-icons/
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...