![]() |
[skill ball] - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Submissions (/Forum-Script-Submissions) +--- Thread: [skill ball] (/Thread-skill-ball) |
[skill ball] - amonvangrell - 05-12-2014 12:51 PM Just made this to my shard, was really annoying, so I've decided to share it in order to prevent another one, to go to the same stress that i went... I didn't look to see if there was another scp with the same function... skill ball download RE: [skill ball] - Mordaunt - 05-13-2014 04:31 AM Why so long? Code: [DIALOG d_Skill_ball BUTTON] Also what is TARG? Under DClick the ball is default, and really should be stored in a local or something to prevent it getting messed up somwhere along the way. RE: [skill ball] - amonvangrell - 05-13-2014 07:18 AM omg that's why I'll be forever a nb and you a master.... lol thanks! Script updated! Thanks to Mordaunt! RE: [skill ball] - Mordaunt - 05-13-2014 05:20 PM I neglected to mention that you can also do the same with the skill listing on your gump if you wish, just use a FOR loop to loop around the skills making sure your button is using the same local counter so that the skill matches the button. RE: [skill ball] - amonvangrell - 05-14-2014 06:01 AM hmmm let me try.... RE: [skill ball] - Shidhun - 05-15-2014 01:47 AM Code: [itemdef i_skill_ball] RE: [skill ball] - Alaric - 05-15-2014 02:21 AM 2 forcycles would be even nicer. You don't need the 10 lines long if,elif,else,endif block Code: for i 0 2 After that, the script should be shrinked to minimum. Btw. there are 2 skillpoints i think. One from me (but it sux, you can't change it easily, only inspire or use it as it is...) and some other pretty long as your first version. RE: [skill ball] - amonvangrell - 05-15-2014 08:33 AM Oh lord.... thanks guys.... Look what knowledge has made of this gigantic script... tine and smoother. ![]() |