-
Active Member
How to bring aplugin on top overlay of another plugin
Imgur: The magic of the Internet
For example, i want the gigi buff plugin icon paint on top of player's marker plugin
-
Legendary
Assign him a different Order or assign one superior to the gigi buff plugin , the one with a higher value will be drawn above the others
dia...-priority.html
https://www.ownedcore.com/forums/dia...ml#post3997240
Last edited by RNN; 11-26-2019 at 08:04 PM.
-
Post Thanks / Like - 2 Thanks
-
Active Member
Regarding the plugin rendering order variable, could I customize and specify on plugin customize code in the PluginEnablerOrDisablerPlugin.cs file ?
Edit:
I did try on adding the order value of the two overlapping plugin.
the class marker plugin still rendered on top of gigi buff plugin
Code:
Hud.RunOnPlugin<Gigi.PartyBuffPlugin>(plugin => {
plugin.Order = 35000;
});
Hud.RunOnPlugin<RNN.OtherClassMarkers>(plugin=>{
plugin.ShowInTown = true;
plugin.Order = 34000;
});
Last edited by takayo72; 11-26-2019 at 11:22 PM.
-
Legendary
If you want to keep the outer circle for your character (to disable it use plugin.MyCircle = false), the best option in my opinion is that you directly edit the gigi plugin (surely there will be no more updates / changes) to add Order, and assign a value after 30950 (30951 for example)
PartyBuffPlugin.cs (lines 38 and 39)
Code:
base.Load(hud);
buffRuleFactory = new BuffRuleFactory(hud);
Code:
base.Load(hud);
Order = 30951;
buffRuleFactory = new BuffRuleFactory(hud);
The reason to add a high Order in the OtherClassMarkers plugin is because you always see where each player is, it is important in GR, the monk will better locate the dps to place the sanctuary.
Last edited by RNN; 11-27-2019 at 04:24 AM.
-
Post Thanks / Like - 1 Thanks
takayo72 (1 members gave Thanks to RNN for this useful post)