-
Active Member
[INTERNATIONAL] [BM] DemonForgePlugin
Supported TurboHUD version: 9.0
Shows DemonForge on minimap and on ground.
plugins\BM\DemonForgePlugin.cs
Last edited by bm206; 02-14-2019 at 01:39 PM.
-
Post Thanks / Like - 1 Thanks
johnbl (1 members gave Thanks to bm206 for this useful post)
-
Savvy ? 🐒
There is some sno missing for Demonic Forges.
At least this one : 185391
You should use the localized name to be i18n compliant ; )
PHP Code:
DemonForgeDecorator.Paint(layer, actor, actor.FloorCoordinate, "!!! DemonForge !!!");
=>
PHP Code:
DemonForgeDecorator.Paint(layer, actor, actor.FloorCoordinate, "!!! " + actor.SnoActor.NameLocalized + " !!!");
-
Post Thanks / Like - 1 Thanks
bm206 (1 members gave Thanks to JackCeparou for this useful post)
-
Active Member
Hi Jack,
what is the best way to use both SNOs?
-
Savvy ? 🐒
If there is only two the simplest way is
PHP Code:
var shocktower = Hud.Game.Actors.Where(x => x.SnoActor.Sno == 174900 || x.SnoActor.Sno == 185391);
If more, better to use a list or hashset
PHP Code:
private HashSet<uint> demonicForgesIds = new HashSet<uint>() { 174900, 185391 };
and
PHP Code:
var shocktower = Hud.Game.Actors.Where(x => demonicForgesIds.Contains(x.SnoActor.Sno));
-
Post Thanks / Like - 1 Thanks
bm206 (1 members gave Thanks to JackCeparou for this useful post)
-
Active Member
Thx for your help again, Jack. Changed OP.
-
Active Member
-
-
Active Member
I don't know if this is possible!
-
Contributor
Or you could draw many rotating circles, so many in fact that the game lags ...
This is the toned down version. I did make one that made the game crash.
Why am I sharing this? cauz da circles look sooo brrrretty :shh:
Last edited by Stormreaver; 08-29-2017 at 01:32 PM.