Hgawmphdmph Posted January 12, 2021 Share 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 Link to comment Share on other sites More sharing options...
Solution Josh Posted January 16, 2021 Solution Share 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. Link to comment Share on other sites More sharing options...
Hgawmphdmph Posted January 18, 2021 Author Share Posted January 18, 2021 Awesome, that makes life so much easier. Thanks! Quote Link to comment Share on other sites More sharing options...
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.