Guest Ezrekith Posted November 8, 2017 Share Posted November 8, 2017 (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 by Ezrekith Link to comment Share on other sites More sharing options...
Metin2 Posted November 8, 2017 Share Posted November 8, 2017 Muito bom Link to comment Share on other sites More sharing options...
GODSPEED Posted November 8, 2017 Share Posted November 8, 2017 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 Share Posted April 6, 2020 Boas, precisava disto, obrigado! Link to comment Share on other sites More sharing options...
Pisti95 Posted September 11, 2020 Share Posted September 11, 2020 (y) Link to comment Share on other sites More sharing options...
P3NG3R Posted November 6, 2021 Share Posted November 6, 2021 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