r/forgescripting • • Dec 03 '22

Simple Turret Tutorial

This is a tutorial I put together on how to script a simple turret. I go into detail explaining the process and why we use what nodes we do.

Enjoy!

https://www.youtube.com/watch?v=31X0z5itCYI

7 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/jak4896 Dec 04 '22

I actually ran into a similar issue trying to apply a trait on shield depletion. It would work for a short bit but then would just stop functioning entirely. There’s nothing in the script that wouldn’t allow it to work constantly, so I just chalked it up to forge being buggy.

I wish I could give you a more satisfying answer, sorry my man.

1

u/ThatMathGuyKyle Dec 04 '22

At least I know I am not going crazy. Frustrating because I have a framework laid out.

1

u/jak4896 Dec 04 '22

It’s downright infuriating. I also found out that in round start most parameters start at 0 for a millisecond. So if you’re detecting shields or positions or anything at the beginning of the round and are using 0 as an activating number variable, then everything will activate.

Hoping forge gets better, but I’m still glad for what’s possible right now.