View Single Post
Love & Thunder Love & Thunder's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,101

Love & Thunder has disabled reputation

Feb 16, 2014, 05:46 AM
Love & Thunder is offline
Reply With Quote
Thanks, it works... Sort of.
New problem: If I have the destruct scenery change the tile into an animated tile(Using WebJCS), the script doesn't work(Although, if I use a non-animated tile, it works perfectly).
Here's what the code looks like now:
Code:
void onMain() {
    if ((jjTileGet(4,10,28) == 0) && (jjTriggers[1] == false) == true) {
        jjSwitchTrigger(1);
    }
}
(The extra part I put that checks if the trigger is on prevents it from toggling the trigger every gametick)
__________________