![]() |
on=@HitTry... doesn't work! - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: on=@HitTry... doesn't work! (/Thread-on-HitTry-doesn-t-work) |
on=@HitTry... doesn't work! - Jonaleth - 05-27-2015 03:12 AM Hello, I've just installed 56c and it works great!... exept when it comes to my custom made combat system. It ignores the on=@HitTry but @Hit and @GetHit works as they should. I've tried it all, but nothing seems to work... Here's a short example (which worked earlier in 55b). Perhaps nothing fancy, but it gives me enough control to manipulate attackspeed on different weapons, and give bonuses for certain races/classes to fight faster with certain weapons... Spoiler (Click to View) Spoiler (Click to View) ...But that didn't work either... How can I get the HitTry trigger to work ? RE: on=@HitTry... doesn't work! - darksun84 - 05-27-2015 03:46 AM Here works fine, is @HitTry in the same EVENT of @GetHit and @Hit ? If you want to be sure that @HitTry works, search in sphere_skills.scp this part [SKILLCLASS 0] and at the end of the skill list add ON=@HitTry say I attack you If this works, possible causes are: 1-@HitTry is in another event and you didn't install it. 2-Sometime i get weird behaviour on my scripts because there was strange characters on the text lines of the editor. RE: on=@HitTry... doesn't work! - Jonaleth - 05-27-2015 03:59 AM ON=@Hit works perfectly on the same event, but not the on=@HitTry. Nothing happens when trying your suggestion; [skillclass 0] //found in sphere_skills.scp ON=@HitTry say I attack you The weird part is, the entire system works just fine on the 56b server, but not on the 56c! RE: on=@HitTry... doesn't work! - darksun84 - 05-27-2015 04:05 AM Are you using the 56c scripts file ? http://nightly.prerelease.sphere.torfo.org/files/sphereNightlyScripts.tar.gz RE: on=@HitTry... doesn't work! - Jonaleth - 05-27-2015 04:33 AM Yes they are updated, and I just did so again to be sure... However, I downloaded a new version of sphereserver 56c, and it doesn't give me the same error... Now it seems like the character refure to enter combat. I am entering warmode, dubble clicking on a corpser, but nothing happens... he is not even targeted... I just think this is really weird! RE: on=@HitTry... doesn't work! - darksun84 - 05-27-2015 04:44 AM For testing, try to use 56c without any of your scripts, just the default scripts, because for most of people it works fine ![]() Also don't use the scripts from the community pack |