It is currently 20 Jul 2025, 02:44
   
Text Size

Problem when exporting cascade code

Moderator: CCGHQ Admins

Problem when exporting cascade code

Postby thefiremind » 31 Jul 2013, 11:52

I do that for each DotP game and 2014 is no exception: I exported the cascade code to a LOL file so that I can write less on the cards using it. But something really strange happened: while the official cascade code uses TriggerObjectLKI() without problems, when I use it on my exported code it's nil. It doesn't depend on what I do on my code, because even if I address TriggerObjectLKI() on the very first line of my function, it's still nil. It doesn't depend on the original spell being countered or something similar, because it never happened during my tests.

How is that possible? :shock:

P.S.: sure, I could save the CMC in the trigger condition and pass it to my function... which is probably what I'll do, but still, I'd like to know the reason for such weirdness.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Return to Programming Talk

Who is online

Users browsing this forum: No registered users and 1 guest

Main Menu

User Menu

Our Partners


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 1 guest

Login Form