|
|
Hey all,
I'm working on a mod, and I've been looking through the HoN's packages and interfaces but can't seem to find the definition / calling of any of the many indexed triggers to replicate. Also, searching for examples in XAML on google seems to bring up what looks like an entirely different syntax/language. Could anybody please point me where to look? I know how to make a normal trigger, but I need to make one with an index. LobbyPlayerInfo{index} is a good example.
Thanks!
-Ryan
This isn't exactly what you're looking for, but you may find these links (and the general website) helpful to some things you might be trying to do:
http://honwiki.net/wiki/UICmdList
http://honwiki.net/wiki/UITriggerList
http://honwiki.net/wiki/CmdList
http://honwiki.net/wiki/FunctionList
I bet there are more pages/sections on there now, but those are ones that I have saved at the moment. Honestly, you will find these sections more helpful than google. Google always thinks you mean "xml" or some other scripting/programming language and you wind up spending an hour searching through google's results when you can much more efficiently spend an hour doing trial/error, reverse-engineering code, looking for examples in previous code, or searching the honwiki.
Meh...
You can do this:
And then:Code:<template name="example_trigger_template"><trigger name="ExampleTrigger{index}"></template>
And so on. This is how the premade triggers work (such as LobbyPlayerInfo{index}).Code:<instance name="example_trigger_template" index="0"/> <instance name="example_trigger_template" index="1"/> <instance name="example_trigger_template" index="2"/> <instance name="example_trigger_template" index="3"/> <instance name="example_trigger_template" index="4"/>
My mods: | Movable Frames | Spell Channeling Bar | Enhanced Buff Icons |
Lock Target | 2D Hero Portrait | Stash in Shop