mhielo12 Posted May 5, 2021 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 114 Reputation: 4 Joined: 08/28/14 Last Seen: 5 hours ago Share Posted May 5, 2021 Hi I would like to request a different kind of card remove with OnPCLoginEvent: Remove Cards character thas has this specific card or acce example: buffalo card <<< will be remove to accessory when login and will be stored at storage Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted May 14, 2021 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted May 14, 2021 - script Sample -1,{ OnInit: .card_id = 4001; end; OnPCLoginEvent: if (isequipped(.card_id)) { for (.@eqi = EQI_ACC_L; .@eqi < EQI_SHADOW_ACC_L; .@eqi++) { for (.@card = 0; .@card < 4; .@card++) { if (getequipcardid(.@eqi, .@card) == .card_id) { successremovecards .@eqi; break; } } } // TODO: script command to add item into storage. } end; } you can do something like this, but to add item into storage, that would need a custom source mod to implement it. Quote Link to comment Share on other sites More sharing options...
Question
mhielo12
Hi I would like to request a different kind of card remove with OnPCLoginEvent: Remove Cards
character thas has this specific card or acce example: buffalo card <<< will be remove to accessory when login and will be stored at storage
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.