Jump to content
engima

Engima's Simple Tasks Script Release

Recommended Posts

Yo, how do you set the task destination?

 

["MoveToRoad", "Move to road.", "CREATED", getMarkerPos "road_marker"] as it says in the documentation does not work.

 

I get some kind of "undefined variable in expression" error.

Maybe something changed with the latest Arma updates.

Getting the same as Mojo_Dog. Thank you for the the script :)

Share this post


Link to post
Share on other sites

Ok, Version 1.17 is now submitted on Armaholic.com.

If you use TypeSqf Editor you can update it immediately, the Armaholic download will be available in a few hours.

Glad you use it!

Share this post


Link to post
Share on other sites

Thank you for been so quick. Will test and keep you updated :)

Share this post


Link to post
Share on other sites

Nice!

 

Maybe you can add the possibility to create a task only for person x or side y.

This might be good for TvT or COOP.

 

This will come handy. Will you consider this as future feature?

Share this post


Link to post
Share on other sites

Hi, could use a little help with this, I can't seem to figure it out.

 

I'm trying to run this from init.sqf, to check if the MoveToRoad task has succeeded, and if it has, end the mission for everyone.

I hope I'm on the right track, however with the code below I get an error, missing ;

so I guess my format is off ?

 

Edit: Argh! Figured it out, I forgot to wrap the contents of the while loop in {};

[] spawn
    {
            while {true} do
           {
            _state = ["MoveToRoad"] call ENGTASKS_GetTaskState;
            if (_state == "SUCCEEDED") then {"end1" remoteExec ["BIS_fnc_endMission",0,true];};
            sleep 5;
           };
    };

Share this post


Link to post
Share on other sites

anyone can post another link, I'm not able to download from armaholic. Thx

Share this post


Link to post
Share on other sites

Got to say this is an amazing script, great work man and really thanks!

 

If I might suggest something or if some one know how to help me out that would be making the task status pending on the side, like I'm currently making a two sided mission where tasks will be generated for both sides but I only want to say success on one side and fail on the other side depending on who finish the task first ^^ But yea I'd highly recommend adding some way to make it sideable.

 

Cheers other wise, great work!

Share this post


Link to post
Share on other sites

This script was exactly what I needed to add in a task-system for my sandbox missions.

Share this post


Link to post
Share on other sites

OMG, proper task scripting for use on dedicated w/ JIPS is my biggest headache.  This looks like an easier tool to learn how to use!  Thanks for sharing!

Share this post


Link to post
Share on other sites
On 26 december 2016 at 6:58 AM, Mordacai said:

Any possibility to use this for SP mission making?

 

Should be no problem. Use the same way as in MP.

Share this post


Link to post
Share on other sites

CX_5_GGDKTPXX_V_1_5_H.jpg

 

what's going on here?

 

edit: nevermind i created a loop of creating tasks...

Share this post


Link to post
Share on other sites
21 hours ago, shape1205 said:

CX_5_GGDKTPXX_V_1_5_H.jpg

 

what's going on here?

 

edit: nevermind i created a loop of creating tasks...

I think you had syntax error in the initial task array. A common problem seems to be to remember to check the commas between the initial task items. An item on each line means that all lines *except the last line* must end with comma. Your loop solves that problem.

Share this post


Link to post
Share on other sites

Hey enigma, love the script!  Do you know if the 64-bit ArmA going to break it?  

Share this post


Link to post
Share on other sites
14 minutes ago, kman_(kya) said:

Hey enigma, love the script!  Do you know if the 64-bit ArmA going to break it?  

so far i havent found a problem in my mission.

Share this post


Link to post
Share on other sites
6 hours ago, shape1205 said:

so far i havent found a problem in my mission.

 

Cool, thanks!

Share this post


Link to post
Share on other sites

I think it's ok. But since the Task Overhaul a while ago there may have been a few minor changes in behavior. In that case it is concerning task position (ENGTASKS_setTaskPosition) and the precisePosition parameter when setting task target. But I'm not sure yet, but I will check.

  • Like 1

Share this post


Link to post
Share on other sites

I was just about to implement Engima's Simple Tasks 2.0. I planned it should be backward compatible and add features like different task icons and a possibility to set different task owners.

 

Then I realized that all this is already in the game since the "task overhaul" a year ago.

 

So does anyone think that there is a need for a new version, or should I drop it? (I have not tested the Bohemia solution yet).

 

https://community.bistudio.com/wiki/BIS_fnc_taskCreate

  • Like 1

Share this post


Link to post
Share on other sites
5 hours ago, engima said:

I was just about to implement Engima's Simple Tasks 2.0. I planned it should be backward compatible and add features like different task icons and a possibility to set different task owners.

 

Then I realized that all this is already in the game since the "task overhaul" a year ago.

 

So does anyone think that there is a need for a new version, or should I drop it? (I have not tested the Bohemia solution yet).

 

https://community.bistudio.com/wiki/BIS_fnc_taskCreate

I've been using BIS task since, but writing its params is boring...

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

×