To be honest I am very embarassed by this post.
But It's over 1 hour and I am get tired of this problem.
The question is: Does'nt Arma2 recognize anymore the following command line:
[parameter1, parameter2 and so on] exec "script.sqs" (or "/scripts/nameofscript.sqs")?
I did a mission.
A c130, sincronized with a trigger, fly toward the Trigger.
On trigger activation there is this line:
[player, c130] exec "/scripts/eject.sqs"
where:
c130 is the name of the airplane in the editor.
The script is not executed, although the trigger is properly activated
-- --
This is the code:
***
player sideChat "script activated"
_pl = _this select 0
_airplane = _this select 1
_t = 3
#cd
(name driver _airplane) sidechat format ["%1 TO %2: %3", name driver _airplane, name player, _t]
~1
? _t != 0 : _t = _t - 1; goto "cd"
_units = units group _pl; _i = count _units
#Lp
~.5
(_units select _i) action [ "eject", _airplane];
(_units select _i) setspeedmode [0,0,0];
[_units select _i] exec "ca\air2\halo\data\Scripts\HALO_getout.sqs"
? _i != 0 : _i = _i - 1; goto "Lp"
Exit
****
please note: neither the first line is displayed in the game (player sideChat "script activated") which bring me to the question of this post.![]()
HOME 
Reply With Quote


