- Joined
- Nov 29, 2006
- Messages
- 2,482
Hi y'all.
I have a question, mainly in the aspect if it causes possible lag or leaks.
<> Let say, in my cinematic trigger there are a boolean set to true. When this action is executed I have a second trigger which is running every 1.5 seconds of game time - When the boolean is true.
<> And then, after 10 seconds, I set the boolean to false. And yes, the second trigger is not running its actions anymore (so far so good).
<> But what if I replace the boolean with an action turning the second trigger on/off? In the aspect of lag/leaks, what should I do (what is the best really)?
<> I Had the theory, that if I use booleans - and it is set to false, the second trigger will still "try" to execute itself (but not run the actions inside it). It is, with other words, still running?
<> And if I then turn it on/off, the trigger wouldnt run, since its turned off...
Am I right here?
I would gladly accept more info about this =)
Until then...
/regards
I have a question, mainly in the aspect if it causes possible lag or leaks.
<> Let say, in my cinematic trigger there are a boolean set to true. When this action is executed I have a second trigger which is running every 1.5 seconds of game time - When the boolean is true.
<> And then, after 10 seconds, I set the boolean to false. And yes, the second trigger is not running its actions anymore (so far so good).
<> But what if I replace the boolean with an action turning the second trigger on/off? In the aspect of lag/leaks, what should I do (what is the best really)?
<> I Had the theory, that if I use booleans - and it is set to false, the second trigger will still "try" to execute itself (but not run the actions inside it). It is, with other words, still running?
<> And if I then turn it on/off, the trigger wouldnt run, since its turned off...
Am I right here?
I would gladly accept more info about this =)
Until then...
/regards