Home   Help Search Login Register  

Author Topic: start in vehicles?  (Read 1789 times)

0 Members and 1 Guest are viewing this topic.

ljt

  • Guest
start in vehicles?
« on: 09 Sep 2002, 23:55:31 »
Hey guys,

I know this is simple thing but i cant find out newhere how to do it.
Basically, I d/l the C-130 plane, and it says it can hold 40 men approx, but i set a way point for 3 groups to get in, but nothing happens on the get in waypoint they all just huddle in a group.

What is the code u put in the Init field to start them in the actual plane, to save the rigmarole of waiting for them all to board.... ???


Thanks in advance

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:start in vehicles?
« Reply #1 on: 10 Sep 2002, 00:23:42 »
Well, the normal code is some INIT field spell similar to this one, m8  :)

    "_x moveinCargo Plane1" foreach units this  :o

Just name the plane, off course!  ;D But I haven't tried the C-130
myself yet,
I can't say wether it works with all those men inside or not  ??? :-\ :)

Laterz

----------------

PS. This syntax was for ONE group, so THREE groups would probably take a trigger;

   "_x moveinCargo Plane1" foreach units Thislist  :-*

Put the trigger around the goofyheads & let it fire right away!  :D

(activated by anybody)

« Last Edit: 10 Sep 2002, 00:28:48 by Tomb »

T.S.C.Plage

  • Guest
Re:start in vehicles?
« Reply #2 on: 10 Sep 2002, 00:27:44 »
What Tomb has written is absolutely right...but a lil' more precise.

You've to (only) write the stuff in the initline of a groupleader.
For one unit it's: this moveincargo vehiclename

Greetz
Plage

imemyself

  • Guest
Re:start in vehicles?
« Reply #3 on: 10 Sep 2002, 00:28:00 »
I've gotten two groups in the C130.  ljt you should d/l it, its really good.

ljt

  • Guest
Re:start in vehicles?
« Reply #4 on: 10 Sep 2002, 00:48:45 »
thanks for help guys, will go try what u suggested. thanks again

ljt

  • Guest
Re:start in vehicles?
« Reply #5 on: 10 Sep 2002, 02:24:36 »
wooooo it worked!!! :D:D:D, thanks alot guys, just been messing about with that command, got meself 2 C130's packed full with men flying over Everon at night backed up by 2 A-10 while being fired at by flak 36's looked really atmospheric with the lighting effects.

Mike

  • Guest
Re:start in vehicles?
« Reply #6 on: 10 Sep 2002, 03:27:04 »
I hope its not inappropriate to add a question, but its subject related..

When you use:

UnitName Moveincargo VehName

how do you go about "transport unloading" them? When I did that before only human players disembarked, all the ai stayed in the chinook..

Unrelated - u can make the triggers condition " true " and it will fire right away wont it?

"_x moveinCargo Plane1" foreach units Thislist  

for Thislist .. something like this?..

"_x moveinCargo Plane1" foreach units grp1,grp2,grp3

?
« Last Edit: 10 Sep 2002, 03:28:13 by Mike »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:start in vehicles?
« Reply #7 on: 10 Sep 2002, 11:49:53 »
Yes, if you put

true

in the condition field of a trigger it will activate immediately.

The lads will stay in the back of the chinook unless they have a "get out" waypoint to persuade them to leave.    Synchro it with the "unload" WP.

Regret I know nothing about foreach commands so can't help with that bit.
Plenty of reviewed ArmA missions for you to play

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:start in vehicles?
« Reply #8 on: 11 Sep 2002, 03:44:54 »
how do you go about "transport unloading" them?

If you use the command:

"unassignvehicle _x" foreach units group

The next time the chopper lands, all units in group will jump out (unless the player is the group leader... then they must be ordered out).

So couple that command with the:

heli land "get out"

and you've basically got yourself a scripted 'transport unload' point...

Mike

  • Guest
Re:start in vehicles?
« Reply #9 on: 11 Sep 2002, 04:05:55 »
would:

heli land "get out"

Lland on a helipad like:

heli land "land"

Or do I have to do something like:

heli land "get out"; heli land "land"

and when trying to land more than one chopper with the same command (heli land "land") I found the heli's have a problem finding which helipad is theirs. Can I assign specific pads for each chopper?

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:start in vehicles?
« Reply #10 on: 11 Sep 2002, 04:32:50 »
Land "land" will make the chopper land at the nearest (or most convenient) hpad, and it will turn off it's engine (eventually)

The land "get out" command will make the chopper land similarly, at the most convenient hpad, and will wait for all the guys who have been unassigned to get out before heading off again.

As far as I know, you can't assign a specific landing spot to a helicopter... you just have to muck around with hpad placement.

If you use that line you had above:

heli land "get out"; heli land "land"

your land "land" command would override the "get out" command. Use one or the other, but there is no point using both ;)