Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

Vultex

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About Vultex

  • Rank
    Newbie
  1. So I am New to arma 2(1 week old) and currently not working on any missions. I am currently just going in the editor and trying out different commands, triggers, ect... but When i try to use external scripts in game by using the nul = execVM "filename" nothing happens. and I mean nothing. I don't even get an error message. and its just not 1 scripts its every single script even a super duper easy one. like the one on wiki for people starting out. I have spent 2 days looking over the code and tutorials on scripting trying to see if I messed up but nothing. Yes I have unchecked Hide extensions for known file types. I do not have Day z activated when I am trying this, I use ArmA Edit for scripting. but when i ask around some how everyone says im doing something wrong. Here is an example. I use a script to spawn units into the game after a civilian walks into the trigger, I have the Function Module out, I have a unit of that type out. But when i walk into the trigger nothing happens. _groupname = [(getMarkerPos "spawnpoint1"), EAST, (configFile .. "Cfggroups" .. "EAST" >> "BIS_TK" >> "infantry" >> "TK_infantrysectionAT")] call BIS_fnc_SpawnGroup; is the code i used. I saved it to the mission as Spawn1.sqf. Then went into game and put nul = execVM "Spawn1.sqf" into the trigger. I have also tried _nil = [] and i have tried Script =. I made sure i had a unit of that faction on the map and the function module on the map. This is just one out of 3 other scripts I have tried to do. I can execute some of the simple in game commands. Like addweapons removeweapons, and all that fun junk but when I get any more complex than that it doesn't work. Please help, I really want to be able to code for some missions and any help would be much appreciated!!!! Please and thank you
×