Jump to content

Vega064

Member
  • Content Count

    7
  • Joined

  • Last visited

  • Medals

Everything posted by Vega064

  1. Ok so here is what I have discovered for this great animation. I just used it to close both doors on the church in chernagorsk. So I assuming it will work with any statci object in the game. Make an objects game logic, then give it a name: Mine is Logic3, so inside the initialization of my game logic I put this: (position Logic3 nearestObject 969326) animate ["Dvere1", 0];(position Logic3 nearestObject 969326) animate ["Dvere2", 0]; This ended up closing both doors, you just increase the number like johnny boy stated. And the "969326" is the ID number of the building or structure you want to clos or open doors. Works perfect for me, just hit ID's in the Editor find the gates ID and replace it with mine. Make sure you put the game logic near the object you want to use it with, and you can change the name of the logic if you want to use more than one. Let me know if thise helps.
  2. Im sorry if this has been discussed before I have been searching for days not in the forums but cant find anything, so I apologize. But I really need an answer please, so I can polish off my MP mission. When you start the mission you are in a c-130 getting ready to Halo drop to LZ alpha, you have to grab your gear from the c-130 and get ready to drop. Well you see, I can access the "Gear" action menu, but it seems that none of the other players can, they have to go to their map then select unit and then the gear menu? I dont understand what I did to get rid of that menu? The action works for me on every slot I used. It just doesnt make any sense? Here is what is in my Init line of the c-130: this setpos [(getpos this select 0), (getpos this select 1), 1000];mv22 flyInHeight 1000;this setCaptive true; mv22 addWeaponCargo ["M4A1_HWS_GL_SD_Camo",6];mv22 addWeaponCargo ["G36_C_SD_eotech",6];mv22 addWeaponCargo ["MP5SD",6];mv22 addMagazineCargo ["30Rnd_556x45_StanagSD",50];mv22 addMagazineCargo ["30Rnd_556x45_G36SD",50];mv22 addMagazineCargo ["30Rnd_9x19_MP5SD",50];mv22 addWeaponCargo ["DMR",2];mv22 addWeaponCargo ["M9SD",6];mv22 addWeaponCargo ["M4A1_AIM_SD_camo",6];mv22 addMagazineCargo ["20Rnd_762x51_DMR",50];mv22 addMagazineCargo ["30Rnd_556x45_G36",50];mv22 addMagazineCargo ["15Rnd_9x19_M9SD",50];mv22 addMagazineCargo ["FlareWhite_M203",40];mv22 addMagazineCargo ["PipeBomb",40]; This is what's in the Init line for the players: Alpha=group this;null= this execVM "prep_backpack.sqf";[a1] exec "ca\air2\halo\data\Scripts\HALO_getout.sqs"; removeAllWeapons this; a1 addWeapon "NVgoggles";a1 addWeapon "Binocular"; ["a1",1] exec "weapons_respawn.sqs";a1 moveinCargo mv22 So if anyone knows what I am doing wrong please let me know.
  3. Hey guys this is what I have been doing to set my AI in a building that I want. Put this in the Initialization line of your units: this setpos [(getpos this select 0), (getpos this select 1), .1]; The only thing you have to mess with is the ".1" number. That number is the height, I use it when they are on level groun in a building. But if he is on steps like in a church or something you can make it like .6 to increase, or even put units in towers with 6 or whatever height you need. You can go as high as you want just have to play with it to see how high or low you need it. You can also use it to lower things into the ground more or seomthing like that with a -.1 or lower. Hope this helps, and oh yeah you just have to place the unit on the building where you want it and it will apear exactly where it is on the map, this might be a bit easier than scripting it and give you more control.
  4. I have that same question, but its to close doors instead. I am making a hostage rescue mission and I wan the doors to the church to be closed when we get to it cuz its stupid to have them wide open, you know. So if anyone knows a script command or something that would help, I can write my own scripts I just dont know what the command is.
  5. Vega064

    Lights in ArmA 2

    Did you ever figure this one out man? I have the same Idea for my recon mission and I cant get this thing to work in arma2...
  6. Vega064

    New ArmA 2 Trailer

    All I did was use the action surrender. Put this in the Init line of your units Init: this switchmove "amovPercMstpSsurWnonDnon". Thats it and they will put their hands up.
  7. use this link to help you with cam scripts, its very helpfull dont worry that it says OFP, you can do the same for ARMA2. http://community.bistudio.com/wiki/Camera.sqs ---------- Post added at 10:47 PM ---------- Previous post was at 10:46 PM ---------- use this link for camera script, it will answer most of your questions http://community.bistudio.com/wiki/Camera.sqs
×