Jump to content

JohnKalo

Member
  • Content Count

    1096
  • Joined

  • Last visited

  • Medals

Posts posted by JohnKalo


  1. @wogz187 The issue was that the task did not follow the moving chopper. Due to the GetPosATL NameOfObject command. I changed it to [NameOfObject,false] and it worked. Before making the campaign I used models which work with moving targets so I never had an issue. Now however that I use scripts the above happened. In your code though [target_obj,true] why true and not false? What does that section do please? 


  2. Just tested the new method. If I use getPosATL NameOfObject it does not update the position. By placing [NameOfObject,false] it does!

    Thanks now only one thing remains. What does the true or false actually do. I do not get what this means exactly:

     

    Quote

    precisePosition: Boolean - use exact position of the target for map marker / HUD indicator instead of the position known to the owner of the task (depending on the knowledge about the target)

     


  3. Thanks it is the fourth parameter but I checked here too: https://community.bistudio.com/wiki/BIS_fnc_setTask

    and still it does not say how to make the task follow the object. With what I have written it does not. In the page example it says [MHQ,false] which is for [object,precision] . I have to guess that precision is some sort of distance in meters between the target and the task icon and if that is the case then it still does not make the task marker to update. I will try with true to see if it works though.


  4. To create tasks I use a script that goes like this:


     

    _myTaskIDs = ["Task01"];
    
    
    _makeTask1 = [["Task01"],west,["Text","Title","Task01Pos"],getposATL Start,"ASSIGNED",3,true,true,"attack"];
    
    
    _watchTask1 = [] spawn {
    
    waitUntil {sleep 0.5;!alive target01};
    ["Task01", "SUCCEEDED",true] spawn BIS_fnc_taskSetState;
    
    };
    
    _makeTask1 call BIS_fnc_setTask;

    Now the problem is that the getposATL Start shows the initial position of object Start. If the object moves the task continues showing the initial position. Due to that in a task I just changed it to objNull but for another mission I need the task position to be updated. So how can I do that please?


  5. Here we go! Another mission release and an update too:

     

     

    Episode 08 - Thunder Fortress RELEASE!

     

    pic1.jpg

     

    In this episode there were some really close calls! Gladly thanks to our Sniper's notifications and organized reactions we managed to overcome the difficulties and complete the mission!

     

    Now about the update. There are two missions that are at the works. Now number two might sound small but it is not! Media files have to be created and there is a dilema on how the story will end. The hypothesis is set but to how flexible players will be with their choices ... that is a complex situation. At the same time we are trying to alter scripts so as to fix some details something by no means easy! Nevertheless we will do our best so as to have the best possible outcome. Also the credits section has been updated. Some have yet to be included but that is only because the needed missions have not been released yet. Last but not least we have not forgotten about the steam and armaholic links. Those will be shown here once all missions are released. Stay tuned!!!

    • Thanks 1

  6. Hey guys I had to use a setUnitCapture at the ending of a mission. So all went well but one thing. At the closing of the mission on the top right a message saying Playback Complete appeared. Thought that only happened at the editor but it also appeared while testing. So is there a way to get rid of that message? Please only post tested solutions because I will not be able to test the mission again before release.


  7. Hi guys hope you are all doing great no matter the circumstances! Excited to announce the release of Mission 07 also known as:

     

     

    Episode 07 - Golden Paint RELEASE!

     

    pic1.jpg

     

    In this mission we were saved more than once by our Sniper and Sabot specialist. Have it not been for them we would have been torn to pieces! What about yourselves though? Will you choose a dynamic or a more stealth approach? Whichever one you choose hope you all have an amazing time! Oh and not to forget all missions have been updated so as for your loadout to remain intact if needed to respawn. The issue was detected while testing and has been dealth with.

    • Like 1

  8. Thank you very much!!! The above is code I have used before but since I never had so helpful notes I never knew what all those columns were for! It did work with simple tricks but it could be done easier too had I used the other now translated lines. The problem however is that I still cannot find a way to Pause the video and then Continue it. The action as you wrote above I suppose does work as intended but the video will continue playing as is. Maybe I will need to use another way for the task to work.

    • Like 2

  9. We will be talking about an MP mission.

     

    So at some point one of the players should be able to start an action that will need to take about 20 seconds to be completed. BUT if he stops pressing the action then the action's progress should pause. So when he starts the action again he will continue from let us say 40% and not 0% again. Also this Pause function will need to be applied to a video that will be playing on a screen. The video should pause and then continue too. So is this possible in a simple way please?


  10. To be honest I got a bit confused. In general however for animations you can use in a script for example:


     

    NameOfPlayer switchMove "NameOfAnimation_1";
    sleep 2.316;
    NameOfPlayer switchMove "NameOfAnimation_2";

     

    A reason why the exact time of the animation is shown in the animation viewer. Also the above will work for SP missions. For MP ones the initPlayerLocal.sqf will be needed 👍

    • Like 3
×