Author Topic: Enemy heli's//vehicles?  (Read 644 times)

0 Members and 1 Guest are viewing this topic.

darkrounge

  • Online Villain
  • ***
  • Posts: 166
    • View Profile
Enemy heli's//vehicles?
« on: May 04, 2011, 04:06:35 am »
Is there a way I can spawn/make enemy helis and vehicles?

Thanks :)

Something like on mapclick!

karmalover

  • I canz carpet bomb joo?
  • Online Villain
  • ***
  • Posts: 201
    • View Profile
Re: Enemy heli's//vehicles?
« Reply #1 on: May 04, 2011, 05:22:06 am »
depbo drky for example and check scripts there ,and you'll see how to spawn things

darkrounge

  • Online Villain
  • ***
  • Posts: 166
    • View Profile
Re: Enemy heli's//vehicles?
« Reply #2 on: May 04, 2011, 09:03:21 pm »
I mean does anyone know the command?
Once I get the command to spawn enemy heli's I'm sorted!
Also, I've tried depbo.

I want to be able to execute it ingame on one of my clans servers, so they don't know it's me so I can add more of a challenge?

Jurugi

  • Online Villain
  • ***
  • Posts: 190
    • View Profile
Re: Enemy heli's//vehicles?
« Reply #3 on: May 05, 2011, 01:38:56 am »
I would ask on the BI scripting forum but here's one from a missiongenerator I made

Code: [Select]
// Spawn Unit
_OpforHQ = createCenter east;

groupAlpha = createGroup east;

West setFriend [East,0];
East setFriend [West,0];

titletext ["Click on the map to set enemy armor","plain down"]

onMapSingleClick "_vcl='T72_CDF' createvehicle _pos; unit = 'RU_Soldier_Crew' createUnit [_pos, groupAlpha, 'this moveInDriver _vcl', 1 ]; unit2 = 'RU_Soldier_Crew' createUnit [_pos, groupAlpha, 'this moveInGunner _vcl', 1 ]; true;"



_pos = getMarkerPos "lol";
_waypoint0 = groupAlpha addwaypoint [_pos, 0];
_waypoint0 setwaypointtype "SAD";
_waypoint0 setWaypointBehaviour "AWARE";
_waypoint0 setWaypointCombatMode "RED";
_waypoint0 setWaypointDescription "DESTROY HUMMINS!";
_waypoint0 setWaypointSpeed "NORMAL";
_waypoint0 setWaypointFormation "WEDGE";


sleep 0.1;
exit;


exec Spawn.sqs

remember to do onMapSingleClick " " afterwards.
« Last Edit: May 05, 2011, 01:44:12 am by Jurugi »