Been playing arma OA for a while now but I'm only just starting to use scripting, I've looked at a few pages on scripting which seemed quite complex and watched a video on spawning units via script command. I copied the script to see if I could get it to work but it didn't, so i know it's something I've done because in the video it worked. I'm trying to spawn a unit via trigger script command, the script is;
Name of file: SpawnCfgMethod.sqf which I put in ARMA2/missions/mission folder
_TKgroup1 = [getmarkerpos "spawnpoint1", EAST, (configFile >> "CfgGroups" >> "EAST" >> "BIS_TK_INS" >> "Infantry" >> "TK_INS_Group")] call BIS_fnc_spawnGroup;
I did this script in arma edit as was recommended in the video and its an SQF file, in the trigger in the editor I put nul = execVM "SpawnCfgMethod.sqf";
The trigger is activated when a civilian walks into the area, but when I play the mission and walk into the area nothing appears and no error messages come up...
This is why I've avoided scripting for so long because I can't really get my head around it, if anyone could help and give me some clarity it would be much appreciated.