Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Unacquirable Item
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unacquirable Item (Read 1593 times)
Mr.Noßody
November 18, 2013, 10:25:28 PM
What is the code to make an item unable for a player to pick up?
Ad Bot
Advertisement
Zelothix
November 19, 2013, 12:17:03 AM
This should do the trick.
Code:
[Select]
function yourItemDatablock::onAdd(%this)
{
%this.canPickup = false;
}
Mr.Noßody
November 19, 2013, 03:07:57 PM
Okay, thanks.
I'll test this when I get home.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Unacquirable Item