Blockland Forums > Modification Help
Disable the zooming ability
<< < (2/3) > >>
lordician:

--- Quote from: Jorgur on December 16, 2010, 08:15:57 PM ---I am working on the unfinished weapon durability script I got from Trigun and now I need to make some functions to repair items (reset the durability variable).

After Space Guy's reply I checked the code more in-detail and found out the durability is stored as one variable per item slot. After clearing this out it should be no problem for me to get this done.

--- End quote ---
Yeah and another time sorry man. :C

Also, per item slot sound a bit odd:
What if you put an other weapon in that specific slot?
Will it take over the durability of the old weapon?

What if you switch the slot the weapon is in?

If you got those answers covered, i don't think there is a problem with your way of doing it, but if you don't, you should really think about it.
Jorgur:
It all works out since the variable is transferred to the item whenever you drop a tool. So, if you drop a tool then pick it up again to a different item slot the value is "moved" to the other slot.

I should be able to do the rest myself, but perhaps you know if I can disable the players' zooming ability?
lordician:

--- Quote from: Jorgur on December 18, 2010, 01:27:11 PM ---It all works out since the variable is transferred to the item whenever you drop a tool. So, if you drop a tool then pick it up again to a different item slot the value is "moved" to the other slot.

I should be able to do the rest myself, but perhaps you know if I can disable the players' zooming ability?

--- End quote ---
I see. Goody. :3

Nope.
Space Guy had a anti-zoom script, but it broke when newer version were made and he said it isn't possible anymore. :C
Space Guy:
Apparently Gravity Cat was still able to do it after that, but I don't know how.
lordician:

--- Quote from: Space Guy on December 19, 2010, 03:57:59 AM ---Apparently Gravity Cat was still able to do it after that, but I don't know how.

--- End quote ---
Oh, i'll try to contact him.
Navigation
Message Index
Next page
Previous page

Go to full version