

CougarFFW04
Members-
Posts
528 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by CougarFFW04
-
Noone ?
-
Hi everyone, There are many things that ca be done in the ME when a group reach a Waypoint... However in the scripting documentation I do not find anything related to waypoint manangement... Did I miss something ? Is there any usefull function available somewhere that would allow to do code what is feasable in the ME options related to waypoints ? Foe exemple is there a simple way to code that a flag goes to false when flight whatever reach waypoint whatever ? Thanks
-
Hi Hardcard Thanks for comments. I know it is a bit confusing as I am testing different things... But in this case I am NOT speaking abour StaticObject but about SceneryObject So it sounds that it is not reacheable... Too bad for the "attack ground object" offered... I got the name of the scenery Object in game with the DCS command world.searchObjects(Object.Category.SCENERY, searchVol, ifFound) So Im a sure it is a valid name but when I provide this name it complains...
-
Hi, After some testing it seems that the "Attack map object" works if there is something in the vicinity (altough there is no way to set a search radius) of the designated place but most of the time the plane tagets "light pylon" :megalol: Too bad. I am trying to design a specific scenery object but I am facing problem (see https://forums.eagle.ru/showthread.php?t=261080 )
-
Hi Grimes, Tried but can't get this working properly... But actually I would like to know what is - object ? Is that the name ? the type ? whatever. it is not clear what the scripting engine is looking for... For the map object I tried with providing Name (ty also with TypeName) that DOES exist as I get them directly in game but it complains. So what is object exactly ? Is seems that this command does NOT have any impact on the choice of the target. And this is not documented: - what is the boolean type ? Although it is optional it might play a role... - what is distance ? Although it is optional it might play a role as well... So actually concerning what I would like to do I have two problems : - The first one is that I am not sure if this command will make the designated object as the target for the controller. - The second one is that I have an error if I provide what seems to be "name" of a scenery object... Any idea ? Thanks
-
Hi everyone, I would be interested to run the DCS function function Controller.setCommand(Class self, table command ) with a script. I tried something like that : Testsc = { id = 'Script', params = { command = trigger.action.outText("Hello",3) } } groupCon = Group.getByName("A10"):getController() groupCon.setCommand(Testsc) but I cant get it working The error says "parameter self missing" What am I doing wrong ? What about if I want to run not just one but let's say two commands ? Thanks
-
Hi Grimes, Will try asap and come back to you. Thanks
-
Hi Grimes, Thanks SO MUCH YOU ROCK !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Any idea about : https://forums.eagle.ru/showthread.php?t=261080 :D:D:smartass:
-
Don't get you :cry::joystick::joystick: Sorry
-
Hi everyone I am looking forward to assign a given target to wingmen and my only idea at the moment is to use the DCS func knowTarget: function Controller.knowTarget(Class self, Object object , boolean type, boolean distance) that is supposed to do the following : Forces the controller to become aware of the specified target, without the controller manually detecting the object itself. Applies only to a Unit Controller. Cannot be used at the group level I use the following code leadGroup = ATME.C_Group.getByName("A10") -- get the group controller leader = leadGroup:getUnitByName("Pilot1") -- get pilot1 controler target = ATME.C_StaticObject.getByName("Reserv1") -- get target controller leader.knowTarget(target) I have no errrors to get the controllers of the plane "Pilot1" and target but an error on the knowTarget. I suppose I do not use it correctly... Any idea about I am doing wrong ? Thanks
-
Hi Grimes, I had sometime to look at this and I was looking for a mist function that would return all DCS zones in a mission. But I didn't find it... Did I miss something or should I code this myself ? Thanks
-
Name of original 3D theater structure ?
CougarFFW04 replied to CougarFFW04's topic in Mission Editor
Hi Grimes, Thanks. Got it. Hooo my God :lol::D -
Hi everyone, There is a DCS function allowing to get teh status of 3D model animation (namely Unit.getDrawArgumentValue) But I do not find any function that would allow to trigger a animation for a 3D model (I was looking for something like Unit.setDrawArgumentValue). Any idea ? Alternatively is it possible to send a keystroke sequence via lua scripting... again I do not find any function that would do that... Thanks
-
Hi everyone, I am wondering if there is somewhere a list of the 3D structures names (if possible with screenshoot) that populate DCS theater. Can't find this... Thanks
-
Not relevant IMO. The post deals with static object not unit.
-
Any details about it ? I do not see any DCS scripting function that would allow a specific target to a specific wigman... So should be sort of workaround I guess Thanks
-
Isn't it what this mean (from the doc) ? "GROUP ATTACK. When checked, the entire flight group will participate in the attack of the target. By default, each aircraft in a flight group is assigned one target."
-
Hi Mbot, Will try that thanks. Did you try them to sucessfully strike different Map Object with this option ? Unless I made something wrong they just hit the dust but do not target objects around as they are supposed to do according to the documentattion.
-
Hi, I thinks it's actually buggy and doesn't work at all... At least for the Attack Map Object (see https://forums.eagle.ru/showthread.php?t=260336) and I am wondering if someone as already reported this possible bug to ED...
-
Right. In fact, from my experience the FP shows up only the first time you select the group. If you switch to another one and come back to the former it doesn't show up anymore. Not critical but would be nice if fixed...
-
Hi Thanks for asking. I was about to ask it :smilewink: And thanks Grimes for the answer. Always there and helpfull :thumbup: Thans so much
-
Tried and unless I did something wrong doesn't work at all. According to the manual : "You can drag the target point using the mouse to position it over the desired target on the map. Once the Task is initiated, the AI will attempt to find the closest structure or object to the target point and attack it using the weapons set in the task properties." But they just target the dust where the triangle is... "GROUP ATTACK. When checked, the entire flight group will participate in the attack of the target. By default, each aircraft in a flight group is assigned one target." What I understand is that if not checked and if there are several objects the wigman will target the different objetcs. They Don't. if checked they all they all attack the same object. if unchecked the wigmen do nothing... Is this completly buggy or di I miss soemthing... Anyone ? Thanks
-
Thanks. I understand. Too bad taht there so many ground structure on the map and that they cannot be targeted easily by the AI.
-
Hi everyone, I do not want to "troll" this post but I think my question is close to the original one except that it's not clear to me if ChuckIV is speaking about original map buildings or static objects added on the map. So my question concerns 3D map structures (let's call them targets, not static objects added on the map). I would be interested to know if it's possible that a flight consisting of whatever planes (let's say n) attack n different target in a single pass ? I use the "Attack Map Object" withe option "GROUP ATTACK" but it does not work as I would expect because all planes attacks the SAME target... I would expect them to target different targets arround the given position.... How to do that ? Thanks
-
Hi, OK got it. My fault. I was "logged" as a spectator and I should do it as a "blue" or "red" one.