Jump to content

Sqeemin

Member
  • Content Count

    12
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About Sqeemin

  • Rank
    Private First Class
  1. That isn't exactly what I want, I want for every civilian unit inserted into the map to be affected and I don't want them running at you right when the mission starts
  2. I'm trying to get any civilian from 25 meters away to start to follow me but I can't get it to work, here's the code: _civs = nearestObjects [player, ["Men"], 25]; hint format ["%1", _civs]; if(side _civs == civilian) then { _civs doFollow player; }; Can anyone help me?
  3. thanks the detecting the truck part of it works , but the part that doesn't work is when you start the mission. the script only works at the start of the mission then after that it won't work I've tried making a trigger that repeats and then put _test = execVM "test.sqf" in the init line but it doesn't work.
  4. Hello. I'm trying to get an object to identify a type of vehicle (e.g "B_truck_01_box_F") so when it gets close it will execute a script. How would you get the object to identify the id of the vehicle("B_truck_01_box_F")? thanks.
  5. Hello I have made a pistol for Arma 2, when i give it to a unit it comes up with error "creating M9_Glock with scope = private".I have changed scope = public to scope = private and vice versa and it doesn't change anything. also when I get into the game the gun shoots to the right and the name of the gun doesn't come up in the top right corner. Has anyone had this problem? I don't know how to fix it because I have just started, can someone please help? config.cpp:
  6. around my feet also the game crashes before i get to play it
  7. Hello i have got a Satellite image from Google Earth and i have made a mask image i can Put together the map with Visitor but textures don't show up and when i'm in-game i get a error "Can't Load Object Ca\plants\clutter_grass_general.p3d" does anyone know what is wrong? Thanks
  8. finally got it working thanks everyone for your input
  9. @BlackMamb how does the first set of code go with the second? are they supposed to be in the same file? and im using addAction but im not using CBA
  10. i tried making it if(!isServer) and taking if(isServer) out but it still doesn't work
  11. hi i have made 3 Separate Scripts that do the same thing for 3 Different Players, it's supposed to get the civilian that the players cursor is on top of into the nearest Car but it only works for the host, when my friends try nothing happens. also i'm new to scripting in ArmA 2 here is the code: _civ = cursorTarget; _nearCar = getPos _civ nearestObject "Car"; if(isServer) then { _civ moveInCargo _nearCar; }; thanks
×