• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua Backpack what can contains only gold.

andu

Sold 649 scripts, 25 maps and 9 events!
Joined
Aug 7, 2009
Messages
978
Solutions
17
Reaction score
373
GitHub
olrios
Twitch
jamagowy
How to make a container, where you can put only gold coins and nothing else, how to do that?
 
well i can give you the idea maybe it helps because i dont have enough time to script it,

you will make a bp with a special action id so there you need to set a script..
 
You can do it easily if you compile creaturescript onMoveItem in your sources, find it at c++ codes board
unless your tfs has it native
 
the problem is that you can't cancel the action in movement scripts with return false, unless tfs team fixed that
 
How to make a container, where you can put only gold coins and nothing else, how to do that?

What is the purpose of this? If we knew WHY you would want to make a container where you can only put gold coins maybe we could give you more options of how to make it work.

If you wanted you could grab a container that has a "use with" function. And when you use the bag on gold coins it puts it in the bag (uses a storage value like a bank, but it is the gold you are carrying).

Such as this item:
Ectoplasm_Container.gif
 
Back
Top