Jump to content

Dynamic screenlisteners ?


Obelixdk

Recommended Posts

I've been trying to see if there was a way to get past the 12 loop limit in a screenlistener to make my mod able to support more icons, and was thinking perhaps something like a dynamic screenlistener would be possible

 

From what I can understand after talking with Zyx there is only so many if -- then commands it can support

 

Was thinking something perhaps it would be possible for the script to see the DLCName="whatever" in the XComContent.ini and use the name put in to adjust the actual UISL

 

Don't know if any of this makes sense though, but any help would be greatly appreciated

Edited by Obelixdk
Link to comment
Share on other sites

Yes.. I think that's what Zyx called it when we talked about why I got an error in the build after the 12th icon.

 

I can only have 12 if --then commands in the UISL, and if I try and put more in it is says limit exceeded, meaning I can only support up to 12 different flair icons

 

I am still very new to all this stuff so I might have the terminology wrong :)

Edited by Obelixdk
Link to comment
Share on other sites

I've already mentionned the "Case" tricks to you ObelixDK, btw. ;)

 

The loop troubles are similar to some Array declaration of stack limits also. Yet, every unique codes have different perspectives on whichever demands for various instructions while specific workaround solutions (such as the embedded Case dispatch calls) can always stand in place of strict situations.

 

Basic programming is a low-level assembly of particular components. Once you find what is (or should be) most optimal, it's only a matter of proper structure where functions interact with variables & constants along arrays and/or conditional elements.

 

If-Then-Else is the elephant in the room in most hooking choices we must make.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...