The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
setcart function unequip remove item baselevel
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
utofaery
1
So I was trying to make an equip,
which give cart 1-5 base on Baselevel's range when equipped.
function to be called from onequip script
function header
{
if (baselevel <= 40) setcart 1;
if (baselevel <= 65) setcart 2;
if (baselevel <= 80) setcart 3;
if (baselevel <= 90) setcart 4;
if (baselevel <= 99) setcart 5;
return;
}
How should I make it to be
range level1 till level40 get cart1
range level41 till level 65get cart 2
and so on?
2
over the unequip script field
what should I code in to make it remove any cart? {setcart;} or {setcart 0;}
doesn't work or do they?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.