Blockland Forums > Modification Help
Disable the zooming ability
(1/3) > >>
Jorgur:
How can I get the items a player is currently holding? (Not the datablocks.)
Space Guy:
Players do not "pick up" item objects - the only thing stored is the datablock. When you walk into the item spawned on a brick it stays there, just turns transparent for a few seconds.
Jorgur:
Ah, ok, that cleared out a few things.
lordician:
Ah stuff.

Sorry to left you waiting Jorgur.
To be honest, i forgot about your question and now i know that you didn't know that...

What are you trying to do after all?
Maybe there is an other way to do so.
Jorgur:
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.
Navigation
Message Index
Next page

Go to full version