Robe - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Robe (/Thread-Robe) |
Robe - darksoulfe - 06-27-2017 11:51 PM Good morning, I would like to know what to put in a robe script, I would like when I clicked 2 times on the robe that is equipped in his body he would turn the robe of dead and when clicked 2 times again he would turn the normal robe, thus getting Hooded and unmanned have intented, follows immediately below a beginning of the script thanks [ITEMDEF i_new_robe] ID=02687 name=Robe capuz WEIGHT=0.5 VALUE=2 type=T_CLOTHING ON=@CREATE COLOR=0185 RE: Robe - aserehe - 06-27-2017 11:57 PM [ITEMDEF i_new_robe] ID=02687 name=Robe capuz WEIGHT=0.5 VALUE=2 type=T_CLOTHING ON=@CREATE COLOR=0185 morex=1 On=@DClick if (<morex> == 1) dispid i_deathshroud morex 2 elseif (<morex> == 2) dispid 02687 morex 1 endif RE: Robe - Criminal - 06-27-2017 11:58 PM @dclick dispid=irobe dead RE: Robe - aserehe - 06-28-2017 12:01 AM Another dclick i_robe? RE: Robe - darksoulfe - 06-28-2017 12:03 AM When I'm clicking 2 times he is not changing to the dead man's robe, he is only in the normal robe !!! I would like when I clicked on the paperdoll of the player for 2 times he changed from robe of dead to normal robe, would be with hood and without hood RE: Robe - aserehe - 06-28-2017 12:05 AM Change this: On=@DClick if (<morex> == 1) dispid i_deathshroud morex 2 update elseif (<morex> == 2) dispid 02687 morex 1 update endif RE: Robe - darksoulfe - 06-28-2017 12:08 AM Now the robe exchanges more the problem is that when equipped the death robe the weapon remains equipped more some of the hand of the player more it is still equipped RE: Robe - aserehe - 06-28-2017 12:11 AM i tried, this working. On=@DClick if (<morex> == 1) dispid i_robe morex 2 update elseif (<morex> == 2) dispid 02683 morex 1 update endif RE: Robe - darksoulfe - 06-28-2017 12:43 AM Sorry to bother again, now I wanted to know how it would look like this. He has a deathrobe and when equipped with a mask bear, death becomes a normal robe. |