How do I make a vending machine which takes away gold but can only be used when you have the gold for itt to take away?

Reference ID

b063f996444d4502acdcae14a16be277

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Other

Summary

I’m not sure if this is a common problem and I’m doing something wrong but in the creative map I began working on with my friend we were attempting to place down vending machines which charged resources for their items and while we could put a price on it it wouldn’t actually take the resources away from the player. Upon using an item remover we could have the resources removed but the player can still purchase it without the necessary resources

Steps to Reproduce

Place down a vending machine, set the cost of any item and try.

Expected Result

I do not believe it will cost the player anything.

Observed Result

It did not charge the player anything.

Platform(s)

PC

@CulturedMeme Check your Island Settings and make sure “Infinite Building Materials” is set to OFF.

Despite not being a buildable material that setting will affect the gold so the vending machine always gives you the item because since you have “Infinite” gold it will meet the Price requirement you put on the device.

1 Like

THANK YOU! This instantly fixed the problem!

1 Like

No problem :heart: glad it fixed the issue