Can_u issue - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Can_u issue (/Thread-Can-u-issue) |
Can_u issue - kn4tseb - 06-03-2014 04:15 AM Hi everyone, i'am trying to make an item be equipable by all races but im having problem with this: this is the original script from sphere_item_typedef_equipitem.scp the problem is when you are playing as a gargoyle... can_u_none works fine, can_u_all doesnt work, when it's set, for some reason it has conflits with the second gargish check "ELSEIF !(<CanUse>&can_u_gargoyle)" so i get the ""Gargoyles can't wear this." message... and if i set CanUse=can_u_human|can_u_gargoyle, it has conflits with <canuse>&can_u_human" condition check so i get the "You cannot equip that." message. is it an script issue? or can_u_all is not working property at all?? PHP Code: ON=@EquipTest Thank you so much ^^ RE: Can_u issue - XuN - 06-03-2014 04:33 AM My bad, ELSEIF !(<CanUse>&can_u_gargoyle) should be ELSEIF !(<CanUse>&can_u_all), i'll commit it soon. RE: Can_u issue - kn4tseb - 06-03-2014 05:26 AM ok ^^, for Nth time, thanks XuN xDDD... btw ELSEIF ( !(<CanUse>&can_u_gargoyle) && (<CanUse>&can_u_all) ) seems to fix this problem. |