SphereCommunity
Equipped Items Stay In Pack/On Ground - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Equipped Items Stay In Pack/On Ground (/Thread-Equipped-Items-Stay-In-Pack-On-Ground)



Equipped Items Stay In Pack/On Ground - Nachtmusique - 06-05-2012 09:25 AM

here is the basic script:
Code:
[ITEMDEF I_BANDAGE_NEW]
ID=I_BANDAGE
TYPE=T_EQ_SCRIPT
LAYER=30

ON=@DCLICK
EQUIP
RETURN 1

When dclicked, the item is equipped. (I can see it in the EDIT menu.)
But it is also still in my pack or on the ground (where ever it what when I dclicked it.)
If I move the one on the ground/in my pack, it is unequipped.
If I delete the one on the ground/in my pack, the equipped on is removed as well.
Is this a bug? Or am I doing something wrong. I just want the new bandage item to equip in the special layer (so I can have several bandages equipped at the same time)


RE: Equipped Items Stay In Pack/On Ground - Extreme - 06-05-2012 09:35 AM

I think you are making a memory, right?
Try use I_MEMORY on ID= it can fix what you want.
If you want to the memory appear like a bandage, change the DISPID to the bandage.