SphereCommunity
UserSkills - Printable Version

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



UserSkills - an0n!m0use - 03-15-2013 04:35 PM

Hi Bye

Someone tell me ... why not working this trigger ? Shock

This menu [d_SKILLS_MENU] - working ... I checked Veryhappy

PHP Code:
On=@UserSkills
    SDIALOG d_SKILLS_MENU 



RE: UserSkills - darksun84 - 03-15-2013 06:34 PM

doesn't work even with src.sdialog ?

by the way, have you installed in the player, the events that contains that trigger ?


RE: UserSkills - Crusader - 03-15-2013 07:49 PM

i remade the skill panel too, and i did:

ON=@UserSkills
IF (<ARGN1> == -1) // this means, IF i'm opening the skill panel
SRC.get_work_skill //my custom function for some stuff
SRC.DIALOG D_SCHEDAPG // my custom skill panel
RETURN 1
ENDIF
RETURN 1


RE: UserSkills - an0n!m0use - 03-16-2013 02:49 AM

(03-15-2013 06:34 PM)darksun84 Wrote:  doesn't work even with src.sdialog ?
No Sad

(03-15-2013 06:34 PM)darksun84 Wrote:  by the way, have you installed in the player, the events that contains that trigger ?
I do not know ... how to check?

(03-15-2013 07:49 PM)Crusader Wrote:  // SKILL_MENU --------------------------------------
ON=@UserSkills
IF (<ARGN1> == -1) // this means, IF i'm opening the skill panel
SRC.DIALOG d_SKILLS_MENU
RETURN 1
ENDIF
RETURN 1
It's not wroking Cry


RE: UserSkills - Mordaunt - 03-16-2013 02:53 AM

add the trigger to an event on your player otherwise your not likely to override the hardcoded function

Code:
[EVENTS e_myevent]
ON=@UserSkills
IF (<ARGN1> == -1) // this means, IF i'm opening the skill panel
SRC.DIALOG d_SKILLS_MENU
RETURN 1
ENDIF
RETURN 1



RE: UserSkills - an0n!m0use - 03-16-2013 03:39 AM

(03-16-2013 02:53 AM)Mordaunt Wrote:  add the trigger to an event on your player otherwise your not likely to override the hardcoded function

Code:
[EVENTS e_myevent]
ON=@UserSkills
IF (<ARGN1> == -1) // this means, IF i'm opening the skill panel
SRC.DIALOG d_SKILLS_MENU
RETURN 1
ENDIF
RETURN 1

Thank you Wink It' work Veryhappy