bolt2 how to kill a tween

sparkz 3 years ago updated by Lazlo Bonin (Lead Developer) 2 years ago 1

Trying to do what seems to be in code

Sequence.kill(sequence ID);

Except after searching all through the fuzzy finder. I can find OnKill no problem to tell it what to do once it's killed. But I can't find the actual do the killing function.

I'm trying to stop a tween when the object being tweened impacts another object. (sword impacts shield for example)

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
Bolt 2

Hi Sparkz, sorry for the very late reply on this, I somehow missed the thread.

First, you must add the type Tween Extensions to the Extractor, then run a Full Extract.

Then, Tween: Kill will become available. 

You can use it in your graph like so: https://imgur.com/wL8SFYL

I will add Tween Extensions as a default type in Alpha 5.