<Quality> help - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: <Quality> help (/Thread-Quality-help) |
<Quality> help - Fronz - 06-03-2016 09:54 PM Is there a way to negate errors or fall back to 0 when a variable doesn't exist? ie Quality does not exist in some cases, checking using IF doesn't seem to help as that line then also errors as <quality> in undefined. RE: <Quality> help - Criminal - 06-04-2016 02:52 AM use var0 RE: <Quality> help - pointhz - 06-04-2016 04:25 AM Problem is Quality is hardcoded xD RE: <Quality> help - XuN - 06-04-2016 07:11 PM Actually the Quality property is about vendable items (items placed on vendors, ready to be sold), so the way to avoid errors is to just check quality on those items. RE: <Quality> help - Fronz - 06-09-2016 12:37 AM Fixed it. Thanks guys! |