Author Topic: Disable the zooming ability  (Read 848 times)

How can I get the items a player is currently holding? (Not the datablocks.)
« Last Edit: December 19, 2010, 04:57:03 PM by Jorgur »

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.

Ah, ok, that cleared out a few things.

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.

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.

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.
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.

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?

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?
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

Apparently Gravity Cat was still able to do it after that, but I don't know how.

Apparently Gravity Cat was still able to do it after that, but I don't know how.
Oh, i'll try to contact him.

Apparently Gravity Cat was still able to do it after that, but I don't know how.
Actually it seems to only works for the people who have the file with the package.
I know you joined Moonlights server long ago. Was your zoom disabled?

Actually it seems to only works for the people who have the file with the package.
I know you joined Moonlights server long ago. Was your zoom disabled?

Phew, dunno.

i thought zooming is client sided

Actually it seems to only works for the people who have the file with the package.
I know you joined Moonlights server long ago. Was your zoom disabled?

When I was there, mine wasn't.