Guest Ezrekith Posted November 8, 2017 at 02:13 AM Share Posted November 8, 2017 at 02:13 AM (edited) With this if your item has ITEM_ANTIFLAG_DROP antiflag the player can see it in the drop dialog if the player can drop the item or not. Image at the end of the tutorial. Open your uicommon.py Search for this: class QuestionDialogItem !!!!!!!OR!!!!!!! class QuestionDialog In this function search for this: def Open(self): self.SetCenterPosition() self.SetTop() self.Show() Add under: if item.IsAntiFlag(item.ANTIFLAG_DROP): self.acceptButton.Down() self.acceptButton.SetText("Can't drop") self.acceptButton.SetToolTipText("You can't drop this item!) Open your uiscript/questiondialogitem.py Search for: "name" : "accept", "type" : "button", Change with this: "name" : "accept", "type" : "radio_button", Edited November 8, 2017 at 02:22 PM by Ezrekith Link to comment Share on other sites More sharing options...
Metin2 Posted November 8, 2017 at 03:19 AM Share Posted November 8, 2017 at 03:19 AM Muito bom Link to comment Share on other sites More sharing options...
GODSPEED Posted November 8, 2017 at 07:32 PM Share Posted November 8, 2017 at 07:32 PM 16 horas atrás, Darkness disse: Muito bom tem que ser em inglês Link to comment Share on other sites More sharing options...
Nukayool Posted April 6, 2020 at 09:37 AM Share Posted April 6, 2020 at 09:37 AM Boas, precisava disto, obrigado! Link to comment Share on other sites More sharing options...
Pisti95 Posted September 11, 2020 at 09:12 PM Share Posted September 11, 2020 at 09:12 PM (y) Link to comment Share on other sites More sharing options...
P3NG3R Posted November 6, 2021 at 09:53 PM Share Posted November 6, 2021 at 09:53 PM ty Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now