Home   Help Search Login Register  

Author Topic: Chopper Prob  (Read 1531 times)

0 Members and 2 Guests are viewing this topic.

BlackStalk

  • Guest
Chopper Prob
« on: 01 Sep 2002, 18:48:14 »
Hi all, I know it looks like I'm new here, actually I'm NOT a newbie here so please all the people including moderators and stuff don't reply 'Welcome' threads like most of you did with the old OFPEC server. I used to be Morpheus21 last time if some of you guys remember.....well thats not important now I guess, my question is more important now, well so here goes....I need a Delta Force Group consisting of 6-8 men, to board a blackhawk without using the LOAD wpt and unload them somewhere else on the map. I just want them to board the helo while on ground, and I mean, when the engines are still OFF,not those extraction type where the helo land and have the soldiers board it one-by-one and bring them to safety, no-not this kind, hope you understand, anybody is welcome to answer my question......thx in advance

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Chopper Prob
« Reply #1 on: 01 Sep 2002, 18:56:48 »
WELCOME

 ;D

To get people into the chopper without using a WP.   The best way is to make a group name for the group.  In the leaders init put;

GroupName = Group This

Where groupname is the name you want to give the group.

Then in a trigger, init, WP or script put;

"_X AssignAsCargo ChopperName" foreach Units Groupname; "_X Ordergetin True" foreach Units GroupName

This should tell them to get into the cargo space of the vehicle named "ChopperName".
« Last Edit: 01 Sep 2002, 18:57:40 by [icarus_uk] »

DeusRich

  • Guest
Re:Chopper Prob
« Reply #2 on: 01 Sep 2002, 19:06:09 »
well
WELCOME TO TH...
oh yea, sorry about that, anyway you have to assign them all into the vehicle, you do that by first naming the group - putting in the group leader's init: thegroup = group this

then you ahve to assign the group to cargo, so you put somewhere else: "_x assignascargo heli" foreach units thegroup

and not to forget, when you want them to get in the helicopter, you have to type:

"_x ordergetin True" foreach units thegroup

then they will get without the use of modern waypoints. Or, simpler still, you can force them into their seats with

"_x moveincargo heli" foreach units thegroup

simple, tyrannical, and effective ;)

[EDIT]damn well done you beat me to it, but I dont see any added moveincargo bits ;D so that means we call it a draw, or somet like that dont we? grrrrrrrrrrrrrrrrrrrrrrr[EDIT]
« Last Edit: 01 Sep 2002, 19:07:41 by DeusRich »

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Chopper Prob
« Reply #3 on: 01 Sep 2002, 19:37:37 »
If the chopper is already mounted by pilot + gunner,
the simpliest way would be:

to give them a GetIn waypoint onto the chopper.

To avoid that load wayoint of the chopper, you could
initialize the chopper with zero fuel.
In player's init field: heli setFuel 0

Then create a trigger;

condition: "_x in heli" count (units your_group) == count (units your_group)

activation field: heli setFuel 1

Once the number of soldiers of group your_group inside
the chopper becomes exactly the same size of men, the
group consists of, the chopper will be fueled and able to
fly.

Then again after reading your question, it could be that
you only want:

this moveincargo heli

into each soldiers init field (in multiplayer on playable units)

or

"_x moveincargo heli" foreach units this (in singleplayer into
leader's init field)

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

BlackStalk

  • Guest
Re:Chopper Prob
« Reply #4 on: 02 Sep 2002, 18:32:43 »
Well, thx for the threads that you guys put up here, not to mention the many ways I could do it, anyways...I might just want to use icarus's method, its more easier and not too complicated for me. Anyway, the other threads here might be useful someday.......

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Chopper Prob
« Reply #5 on: 02 Sep 2002, 18:40:33 »
da prob is solved right ? so "solve" da topic

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta