Sir_Skurpsalot Posted April 6, 2020 Share Posted April 6, 2020 Continuing on from my previous post, It seems that any trigger that is set on a weapon image that is called from a scheduled function does not stay applied upon input. What I mean is that I have a function that is shooting a raycast at regular intervals, making use of a schedule. When it hits a "friendly" it sets genericTrigger3 on the weapon image in slot 0 to true. If I stay looking at this object and touch any movement key the trigger sets itself to false. For debugging purposes I have removed anything from this function that returns the trigger to false, and it still happens. I tried using different genericTriggers and also setImageTarget instead and they all behave the same. If I write a simple function to toggle the generic trigger on and off with the press of a key it works fine as intended. There is something about the fact that it was called from a scheduled function that I think is making it not stay applied. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.