Jump to content
Sign in to follow this  
NeV3rKilL

addAction loading files.

Recommended Posts

When I use:

_genAct = _car addAction ["Saltar al Vehiculo!", "DMG_getin.sqf", _this ,10 , true , true , "GetOut", "!(_this in _target)"

with "DMG_getin.sqf" on the mission folder, All works OK.

If I use:

_genAct = _car addAction ["Saltar al Vehiculo!", "/DMG/DMG_getin.sqf", _this ,10 , true , true , "GetOut", "!(_this in _target)"

with "DMG_getin.sqf" in a "DMG" folder inside the mission folder. There is not error, arma2 find the file because not error is displayed, but the file is not opened. :-/

I have got this with another commands like execVM and works perfect, but with addAction seems not.

Why?

Share this post


Link to post
Share on other sites

In A2 error are not displayed in game, like they were in OFP/A1, but they are reported in the ARMA2.RPT file, so the script may be in error and you don't see it

use "DMG\DMG_getin.sqf" to reference your script

Share this post


Link to post
Share on other sites
In A2 error are not displayed in game, like they were in OFP/A1, but they are reported in the ARMA2.RPT file, so the script may be in error and you don't see it

They are if you put -showScriptErrors parameter to your shortcut :)

Share this post


Link to post
Share on other sites

with

use "DMG\DMG_getin.sqf" to reference your script
the file is not found.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×