_StopTicking() used to work inside the Tick() method of SDKBehaviorInstance. But with r190 it does not work anymore. Is this normal ?
This wasn't an intended change, it should still work. What do you mean that it doesn't work any more?
It does not stop the ticking. it works fine in latest stable but not in r190.
test addon, it's a behavior:
filebin.net/c9yjdd6aq9rd8a8p/newplugin_1_0_0_0.c3addon
Tick() { console.log(this.count); this.count++; if (this.count == 10) { console.log(this.count); this._StopTicking(); } }
C3.Behaviors.test_tick.Acts = { Start() { this.count = 0; this._StartTicking(); } };
Develop games in your browser. Powerful, performant & highly capable.
Oh, I see. It is indeed a regression in r190. It should be fixed in the next release. In future please report issues to the issue tracker, things only mentioned in the forum are often lost.