Jump to content
Sign in to follow this  
tansvanio

Task manipulation wont work inside trigger.

Recommended Posts

Greetings,

 

I am encoutering a very strange problem and I wonder if anyone has a solution. The problem I have is that task manipulation via SQF (task functions) wont work inside triggers.

 

For example, lets say that a trigger on activation does:

hint "Activated";
task1 setTaskState "Suceeded";

Upon activating the trigger, the hint will appear but the task wont complete. If I do this via modules and sync it all works. This time, this failed with the setTaskState function, but I remember this happening with other task related functions. Does anyone have a solution to this problem?

 

Cheers,

Tansvanio

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×