-
Content Count
668 -
Joined
-
Last visited
-
Medals
-
Medals
-
Posts posted by Ghost
-
-
well if i do not use select 0 then i will return [1] for instance instead of 1
-
Ghst_actobj is an array but no strings are inside. I could make it that way though.
-
i am trying to create/delete triggers and in the onact line of the trigger which is ran on every client I want to update the current pubvar task
_trg=createTrigger["EmptyDetector",_objmarker]; _trg setTriggerArea[0,0,0,false]; _trg setTriggerActivation["EAST","PRESENT",false]; _trg setTriggerStatements["objtrigger", "nul = [""(ghst_actobj select 0)"",""succeeded""] call TASKMASTER_upd; forceEnd; ghst_randomobj = [] execvm ""dta\scripts\randomobj.sqf"";", "deleteVehicle _trg;"];
problem is the method i used does not update the task. Ghst_actobj is an array that is pubvar updated with every new objective. So since your taskupdate requires the taskname to be a string. how do I go about doing so so that it would work in a scripted trigger as shown? I tried _actobj = str(ghst_actobj); and tried doing that again to put double quotes but nothing seems to work. So far besides my scripting issues your task system seems to work well.
-
may not be the best way but name each unit you want to detect ie man1,man2,man3,man4 and create the trigger activated by anybody or the units side. then make the radius as big as you want. in the condition line put
man1 in thislist and man2 in thislist and man3 in thislist and man4 in thislist
should fire.
-
name your group via
groupname = group this;
<-- put that in your group leaders init line. then in same line or trigger or where ever put
{_x moveincargo vehiclename} foreach units groupname; -
bomb = "Sh_125_HE" createVehicle (getmarkerpos "markername");
that will create a 125HE shell at specified marker.
-
Makes sense. Now If i run the "TASKMASTER_add" command on a server only script will it update the clients already in the mission or just the jip clients?
**update**
Ran a test solo on dedi again and it seems that jip clients and current clients are not updated to tasks ran on server only scripts. If it was possible to do this it would make scripting missions a lot easier.
-
I had V0.9 not V0.91 but I edited my post and it seems it does work, just takes a moment. Still need to test with friends to make sure they scripts I am calling it from are working properly. thanks for your help and the newer version.
-
I must be doing something wrong then because that is not happening.
nul = [WEST,"obj1",["Eliminate the enemy threat","Enemy","Enemy"],"obj1"] call TASKMASTER_add;
I have that in a script and the tasks are updated to those who are connected but if someone leaves then comes back or joins later that task is not updated to them.
**UPDATE**
Seems I may not have been patient enough. Still need to test with my friends by just myself on my dedi jip works, just takes a few moments.
-
what is the best way to update jip players with tasks created during the mission? I have a mission where tasks are created during the mission and I would like the tasks and there status sent to jip players.
-
Thank you ACE team for everything you do. Look forward to your future updates.
-
put this code in the init line of the unit
this moveInCargo [heloname,#];
where # is the seat pos. Trial and error but 0 should be copilot and so on from front to back i think. http://community.bistudio.com/wiki/moveInCargo and the turrets http://community.bistudio.com/wiki/moveInTurret
-
not really, makes it more interesting, problem atm though is the helicopter does not have the lasing system right now. Once it is added it will be great
-
Current issue with ACE Mod. They made hellfires laser only. Read somewhere it should be fixed in next update, which may be sometime soon.
-
My issue with 1.05 is that the apache and cobra do not have a laser weapon for designating targets. makes it very difficult to attack armor unless you have multiple players to do lazing.
-
without trying I believe that should work
-
might want to use an eventhandler http://community.bistudio.com/wiki/addEventHandler like the "killed" one http://community.bistudio.com/wiki/ArmA_2:_Event_Handlers#Killed
-
thank you Gnat! Great surprise. Did notice if you are pilot and switch to manual fire you will always have ability to bomb no matter what position the doors are in.
-
Or just check the sticky in the forum. Link is in my sig
-
Did you try using switchmove to another animation, or even playmove?
-
I use the following and seems to work well.
_markname = "Your_markername" + str (random 999);
-
http://community.bistudio.com/wiki/switchMove
Use switchmove "" to switch back to the default movement if there is no transition back, otherwise the person may be stuck. -
Thank you Gnat for all you hard work.
-
in onactivation
thislist select 0 move position heliWP1
and name the next trigger(waypoint) heliwp1. Sync all triggers to the veh and should work fine. BIS uses similar for a helo in first to fight mission.




Taskmaster, creating and updating tasks for any set of players with JIP support
in ARMA 2 & OA : MISSIONS - Editing & Scripting
Posted
I am storing numbers which in turn act as names to markers. the numbers are the task number and marker name once put into a string.