![]() |
Help with Canuse - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Help with Canuse (/Thread-Help-with-Canuse) |
Help with Canuse - kn4tseb - 05-04-2014 09:06 AM i couldnt figure how to use the smith's hammer on gargoyles so i tried with the CanUse function but dont work for it and any other items neither, would anyone please explain to me a bit how it works? Thanks ! RE: Help with Canuse - Alaric - 05-04-2014 09:38 AM Not sure what isn't working. You can't use smith's hammer with gargoyle? It should work with default scriptpack. RE: Help with Canuse - kn4tseb - 05-04-2014 10:02 AM exactly, when i try to use a smith's hammer with gargoyle i get the: Gargoyles can't wear this. using: Sphere Version 0.56c-Nightly [WIN32] by http://www.spherecommunity.net, compiled at May 2 2014 (00:20:44), internal build #1906 WARNING: --- WARNING --- and same release day scripts. PD: pickaxe didnt work for mining either, so i had to use the shovel and it worked fine. RE: Help with Canuse - Alaric - 05-04-2014 10:15 AM Uh, we'll have to wait for some devs doing this. The scriptpack is changed a lot, I don't know this one ![]() Unfortunately I can't try it, because I have some old version of UO. But few months ago there was a tag saying if the gargoyle can wear it or not. tag.notgargoyle and tag.gargoyleonly If I take this item from the newest scriptpack it is missing the info, who can wear it. Give them some time ![]() Code: [ITEMDEF 0902] RE: Help with Canuse - kn4tseb - 05-04-2014 10:18 AM Ok, ^^, thanks Alaric, i'll wait, have a good night. RE: Help with Canuse - kn4tseb - 05-05-2014 01:45 AM Anyone?? Most gargoyle items work on them, but still dont know how to use a BS hammer or add another item to be used by this race. here is, inside sphere_defs.scp some lines about it. // CanUse flags // Uses new internal variable CANUSE. Script for this is in the addon's folder in the script pack. // Used on items for checks or npcs (mounts, golems, etc) [defname canuse_flags] can_u_all 0 can_u_male 01 can_u_female 02 can_u_human 04 can_u_elf 08 can_u_gargoyle 010 can_u_none 020 Thanks a lot! update: just created a new gargoyle char as a Blacksmith Profession, it's wielding a pickaxe but as soon as i unequip the item it wont be weild again :/ Gargoyles can't wear this msg. |