Welcome, Guest Sunday 20th April 2014, 14:20:15
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: ROMM_IA (ACCEPTED)  (Read 4887 times)
0 Members and 1 Guest are viewing this topic.
Rommel92
*
Offline Offline


« Reply #15 on: 02 Jul 2008, 16:51:12 »

{[_x]call compile preProcessFile "ROMM_IA.sqf"} forEach [group1,group2,group3];

When a function is "called" it will wait for the function to finish before moving on to the next one. The script ends when the group is killed, so once group1 is dead, group2 would launch the script, and so on and so forth.

 Smiley
Logged

Shadow.D. ^BOB^
*
Offline Offline


« Reply #16 on: 02 Aug 2008, 00:28:07 »

Hey guys just a quick note.  I have tried to implement this into DACv2 but with no luck.

I have added the code you posted rommel, exactly the same (copy n paste).  But when DAC starts to initialise on mission run, its gives an error about a missing ].

Any ideas?

Cheers
« Last Edit: 02 Aug 2008, 00:29:59 by Shadow.D. ^BOB^ » Logged
Rommel92
*
Offline Offline


« Reply #17 on: 02 Aug 2008, 04:54:36 »

 Hey Shadow Bob, I haven't tested it in a while, and have been really  busy etc, however try these sets of possible working code:
Code:
_Events_Unit_S =
[
[[_group] call compile preProcessFile "ROMM_IA.sqf"],
[],
[],
[],
[],
[]
];

Code:
_Events_Unit_S =
[
["[_group] call compile preProcessFile ''ROMM_IA.sqf''"],
[],
[],
[],
[],
[]
];

Code:
_Events_Unit_S =
[
["[_group] execVM ''ROMM_IA.sqf''"],
[],
[],
[],
[],
[]
];


Code:
_Events_Unit_S =
[
[[_group] execVM "ROMM_IA.sqf"],
[],
[],
[],
[],
[]
];
Logged

Shadow.D. ^BOB^
*
Offline Offline


« Reply #18 on: 06 Sep 2008, 05:23:02 »

Hey Romm, sorry i havent replied sooner, but ive been working overseas and have only just taken his project up again.  I tried the suggestions you posted and the 1st option seems to be the only one workin without an error.  The problem is when i call the scrip as an event, any units in the DAC zone stop responding to the waypoints created, and just stay static.  I don't suppose you have any idea on the subject do you?  Or has anyone else been able to get the 2 systems working together?

Thankyou for any help in advance.
Logged
Rommel92
*
Offline Offline


« Reply #19 on: 14 Sep 2008, 06:15:20 »

Code:
_Events_Unit_S = [
["[_group] execVM ""ROMM_IA.sqf"""],
[],
[],
[],
[],
[]
];

Is what I'm using in my latest mission, and I'll possibly be updating the ROMM_IA.sqf script soon aswell.
Sorry for the dud solutions  Whistle.
Logged

Shadow.D. ^BOB^
*
Offline Offline


« Reply #20 on: 07 Oct 2008, 00:10:09 »

Dud solution or not lol, seems to have worked cheers dude.  Looking forward to an updated version if u get round to it.
Logged
Binary
*
Offline Offline


« Reply #21 on: 01 Dec 2008, 10:31:13 »

Will this also increase AI effectiveness over distance?

With vanilla AI it seems that (especially in multiplayer) they are completely useless at +250 meters.
Logged

"Ah.. Home sweet hell !" - Al Bundy
Manzilla
*
Offline Offline


« Reply #22 on: 02 Dec 2008, 00:45:25 »

Try Six Pack 2 and FFN together. I'm not sure if this does much for distance.
Logged
Pages: 1 [2]  All   Go Up
  Send this topicPrint  
 
Jump to: