SphereCommunity
ClientToolTip - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: ClientToolTip (/Thread-ClientToolTip)



ClientToolTip - Van Glan Bloom - 03-16-2017 11:26 PM

Hello guys.

I am creating a script but for some reason it is not working. The ON=@ClientToolTip dont work.

Code:
[ITEMDEF i_teste_escudo]
DEFNAME=i_teste_escudo
ID=i_shield_kite_wood
NAME=escudo teste
TYPE=t_normal
TEVENTS=t_sem_id

on=@create
color=0123

[typedef t_sem_id]
defname=t_sem_id

ON=@ClientToolTip
SRC.AddCliloc 1060847,<NAME>,[<dTDATA1>]
SRC.AddCliloc 1060658,Defesa,<dtDATA1>
SRC.AddCliloc 1060660,Sorte,<dMOREM>
SRC.AddCliloc 1060662,Durabilidade,<dHITPOINTS>
SRC.AddCliloc 1060659,Peso,<dWEIGHT>
SRC.AddCliloc 1060661,Lingotes,<dRESOURCES>

ON=@Click
//message @0123 [Nao identificado]
//return 1

on=@dclick
src.sysmessage @09c1 nao podes equipar
return 1



RE: ClientToolTip - darksun84 - 03-17-2017 12:03 AM

Works fine here, make sure you have the tooltip options enabled and use .updatex o .xresentdtooltip in game for testing the tooltip(also remove the d before resources)


RE: ClientToolTip - Van Glan Bloom - 03-17-2017 05:11 AM

Where I see if the options are activated


RE: ClientToolTip - darksun84 - 03-17-2017 05:33 AM

In Sphere.ini

// FEATURE_AOS_UPDATE_B 02 // Tooltip, Fightbook, Necro/paladin on creation, Single/Six char selection screen, Skills, Newer


RE: ClientToolTip - Van Glan Bloom - 03-17-2017 11:07 PM

Thx m8 You really helped me a lot. =)