Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Changing a weapon in a slot?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Changing a weapon in a slot? (Read 435 times)
FrogFreak
August 07, 2011, 11:12:06 AM
Is there a way, script wise, for a weapon to be changed to another weapon by means of, say, alt fire? When the weapon is changed, it replaces the one that was in a certain slot with the new one, and it stays that new weapon as well.
Ad Bot
Advertisement
Amade
August 08, 2011, 02:55:21 PM
Yes.
Katadeus
August 08, 2011, 05:50:06 PM
Quote from: Amade on August 08, 2011, 02:55:21 PM
Yes.
That was exceedingly helpful.
Amade
August 08, 2011, 07:14:06 PM
Quote from: Katadeus on August 08, 2011, 05:50:06 PM
That was exceedingly helpful.
All he asked was if.
otto-san
August 08, 2011, 07:31:53 PM
%player.tool[slot] = itemdatablock;
%player.tool[%player.currtool] = somesillyItem;
modify as needed
FrogFreak
August 08, 2011, 10:30:14 PM
Thanks Otto.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Changing a weapon in a slot?