Hgawmphdmph Posted January 12, 2021 Posted January 12, 2021 Hi all, In the sample FPSGun.lua code I see this: e:SetLoopMode(false,true) where e is an Emitter instance. The docs only list one parameter for SetLoopMode(). Can someone tell me what the second parameter does? Thanks. Quote
Solution Josh Posted January 16, 2021 Solution Posted January 16, 2021 The second parameter activates Auto-release, which frees the emitter when the end of the cycle is reached. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Hgawmphdmph Posted January 18, 2021 Author Posted January 18, 2021 Awesome, that makes life so much easier. Thanks! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.