0
Answered

return values

MissBig 2 years ago updated by Lazlo Bonin (Lead Developer) 2 years ago 2

Hi if I want return; how would I do this. I did see that return values tutorial but it is to fast and I didn't understand it also it was doing other things. All I want is return;

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

If your okay using an add-on. I already developed a Return Event set of custom units that behaves just like your regular Custom Events. Triggers have an immediate exit and a on complete for when returned, as well as you can return after time as well.

http://lifeandstylemedia.com/assets/bolt/returnevent/manual.php

Answered

Hi,

You can use Jason's addon indeed.

Or, you could create a super unit with a single value output. This value output is your basically the equivalent of the traditional return value.