Expand my Community achievements bar.

shared script

Avatar

Level 2

Is there any way to assign a script to two events, say exit and post print, for example?  Thank you!

3 Replies

Avatar

Former Community Member

You can create a new script object and write your function in there, then you can call the function from anywhere, as many times as you need to.

Avatar

Level 10

You can certainly put it in more than one event - it will only fire when that event happens.

Avatar

Level 2

This sounds like the direction I need to go, but I need

the recipe.  How do I create the script obejct?  How do I call the function?

Thank you!

Tyler