Jump to content

cobra4v320

Member
  • Content Count

    1370
  • Joined

  • Last visited

  • Medals

  • Medals

Everything posted by cobra4v320

  1. cobra4v320

    BlackOps and desert mercs

    I believe they were replaced with the SCAR!
  2. Place the functions module in the editor. _vec_array = [markerPos "some_marker", random 360, "A10", west] call BIS_fnc_spawnVehicle; Place the above info into a trigger. That's it. Paramters and return values: Parameter(s): _this select 0: desired position (Array). _this select 1: desired azimuth (Number). _this select 2: type of the vehicle (String). _this select 3: side or existing group (Side or Group). Returns: Array: 0: new vehicle (Object). 1: all crew (Array of Objects). 2: vehicle's group (Group). The function will add the correct crew members, fill up all crew positions and will spawn aircrafts in the air, aka flying.
  3. cobra4v320

    Smoke my wreck!

    you do not have to make a game logic if you want to attach it to an object! this=[firelogic, 5, time, false, false] spawn BIS_Effects_Burn; just change the firelogic name to the name of the object you want to burn. I used this on a wrecks uh1y and named it uh1y and it burns directly on the wreck itself without any game logics. this=[uh1y, 5, time, false, false] spawn BIS_Effects_Burn;
  4. You would need to use the dotarget command and the fire command. I tried it and it fires an RPG at the helicopter but it looks akward. Some fine tuning or scripting and it should work
  5. {alive _x} count units groupnamehere == 3 the above code checks how many troops are left in your group, so it is checking if there are 3 troops in the group. You can change that number to whatever you want. You would place the above information into the condition line of a trigger. This way when your group starts to get killed your reinforcements would be triggered and move in to assist. You can have units join your group by using this in a trigger. Hopefully this helps or at least gets you going in the right direction.
  6. Mavis send me your email and I will send you the mission.
  7. GroupA10 = CreateGroup West; A10CAS = createVehicle ["A10", [(getMarkerPos "A10Spawn") select 0,(getMarkerPos "A10Spawn") select 1,100], [], 0, "FLY"]; A10Pilot = GroupA10 createUnit ["USMC_Soldier_Pilot", [0,0,1], [], 0, "CAN_COLLIDE"]; A10Pilot moveInDriver A10CAS; wp1 = GroupA10 addWaypoint [(getmarkerpos "A10Target"), 0]; wp1 setWaypointSpeed "NORMAL"; wp1 setWaypointType "SAD"; place a marker called a10spawn on the map: this is where the a10 would spawn in. place another marker on the map called a10target: this is where the plane will fly to when it spawns in. If you do not want an a10 here are the classnames.
  8. Check this out here http://community.bistudio.com/wiki/onMapSingleClick 1. create a group and in the initalization line of the leader put grp1=group this 2. create a trigger 3. activation is radio alpha 4. in the activation field put: onMapSingleClick "grp1 move _pos; onMapSingleClick ''; true;" 5. make sure the trigger is set to repeatedly Now you can click on the map multiple times and grp1 will move to those locations. If you use the setbehavior command with the group leader it will apply to all of the memebers of the group, and while moving to the waypoint.
  9. cobra4v320

    group in vehicle

    what exactly are you trying to do in your mission?
  10. cobra4v320

    New to Editing

    Try to unpbo missions that have already been made and learn how the different movements, triggers, waypoints, and scripts work together.
  11. This is the simplest way to do this. 1. create a blufor soldier 2. create an opfor soldier (name this guy man) 3. create a trigger 4. in the condition line put !alive man 5. select end #1 in the type field Another ending trigger would be: 1. create another trigger 2. in the condition line put !alive player 3. select end #2 in the type field This way if either one of you gets killed it will end the mission. If you want to get more complex then read here: http://forums.bistudio.com/showthread.php?t=73424 Now its peanut butter jelly time
  12. You need to read this http://forums.bistudio.com/showthread.php?t=74166 it is the same thing that is used in the Manhattan mission. You can call the helicopter using the spacebar click on the map where you want it to pick you up then click on the map again where you want it to drop you off. Then the helicopter automatically returns to base. If you put a trigger at the helicopters base with repeat and setfuel command you will never run out of fuel. If you dont want it shot down use the allowdamage false command. If you need any help with this let me know I can send you the mission Im working on.
  13. cobra4v320

    Ending trigger

    If you group (F2) the trigger to the players team and select activation "any group member" in the trigger that should work.
  14. cobra4v320

    Ending trigger

    This is what I have done in my end trigger for multiple objectives: taskCompleted tskobj1 and taskCompleted tskobj2 and taskCompleted tskobj3 Im sure that there is a way to consolidate these, but Im not sure how.
  15. Hey Gunndawg you can try this (dofire) http://community.bistudio.com/wiki/doFire
  16. Gunndawg read this http://forums.bistudio.com/showthread.php?t=74166
×